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

Raised HTTP Exception for requests with Content-Type None #26

Merged
merged 5 commits into from
Oct 2, 2022

Conversation

noureentaj
Copy link
Contributor

Requests will be barred for Content-Type None and error code 415 will be raised for unsupported content type

What?

I've barred requests being processed with Content-Type None.

Why?

This change restricts any requests that are not acceptable by the services.

How?

Unacceptable requests will now meet an error code 415 raised for unsupported content type

noureentaj and others added 5 commits October 2, 2022 19:43
Requests will be barred for Content-Type None and error code 415 will be raised for unsupported content type
@iudeen iudeen merged commit 4425867 into iudeen:main Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants