We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We get the content type using the module content-type
content-type
contentType(req).type
This module trigger a TypeError if the content-type does not exist or is not supported. We should use that error to trigger a HTTP MediaType error.
The text was updated successfully, but these errors were encountered:
The error code should be 415 however, this should be configurable since it is possible to make a HTTP POST request without content type.
Sorry, something went wrong.
No branches or pull requests
We get the content type using the module
content-type
This module trigger a TypeError if the content-type does not exist or is not supported. We should use that error to trigger a HTTP MediaType error.
The text was updated successfully, but these errors were encountered: