Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate the Content-Type on PUT requests #138

Merged
merged 2 commits into from
Apr 15, 2020

Conversation

gregkare
Copy link
Member

Return a 415 (https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415) when the
Content-Type does not look like a valid MIME type (in the type/subtype format)

Refs #137

Return a 415
(https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415) when the
Content-Type does not look like a valid MIME type (in the type/subtype
format)

Refs #137
@gregkare gregkare requested review from raucao and galfert April 15, 2020 11:50
@gregkare
Copy link
Member Author

Thanks for the review, this looks much better now

@raucao raucao merged commit 153176f into master Apr 15, 2020
@raucao raucao deleted the feature/137-validate_content-type_put branch April 15, 2020 13:09
@raucao
Copy link
Member

raucao commented Apr 15, 2020

thumbs-up-machine

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.

2 participants