mu-semtech / mu-python-template

Template for running Python/Flask microservices
MIT License
4 stars 8 forks source link

fix jsonapi content type validation function #4

Closed MikiDi closed 2 years ago

MikiDi commented 2 years ago

This has been broken from the start of this template.

args contains query params, not headers. https://flask.palletsprojects.com/en/2.0.x/api/#flask.Request.content_type starting a sting with a forward slash doesn't make it a regex either