Skip to content

Conversation

@tejinderss
Copy link

In decorators.py, there is no check if the Content-Type is present in the headers, which will raise an uncaught exception if we try to use the API in the browser. This check will make sure that the header is present otherwise it will return the json response with 415

@coveralls
Copy link

coveralls commented Apr 2, 2017

Coverage Status

Coverage remained the same at 95.973% when pulling 4f60803 on tejinderss:master into 40d8714 on miLibris:master.

@akira-dev akira-dev merged commit 60b6691 into miLibris:master Apr 3, 2017
@akira-dev
Copy link
Collaborator

You're right. Thanks

@akira-dev
Copy link
Collaborator

New release of Flask-REST-JSONAPI is available on pypi with your bug fix

@tejinderss
Copy link
Author

Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants