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

Content-Type header is case sensitive #209

Open
shazil-arif opened this issue Jul 29, 2020 · 0 comments
Open

Content-Type header is case sensitive #209

shazil-arif opened this issue Jul 29, 2020 · 0 comments

Comments

@shazil-arif
Copy link

If the 'Content-Type' header is not set exactly, nrc-parser-manager throws a JSON parse error. For example, setting the header as 'Content-type' throws an error

According to https://www.w3.org/Protocols/rfc1341/4_Content-Type.html#z0 the Content-Type header should not be case sensitive so this should be considered.

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

No branches or pull requests

1 participant