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

Ninja send unexpected content type #760

Open
jeanNimb opened this issue Aug 13, 2024 · 0 comments
Open

Ninja send unexpected content type #760

jeanNimb opened this issue Aug 13, 2024 · 0 comments

Comments

@jeanNimb
Copy link

It seems, that a character encoding is added to the response content type, even there is no character encoding set.
For example, if no character encoding is set, ninja delivers as response the content type application/gzip;charset=UTF-8. But expected is application/gzip.
Since this could cause some problems (e.g. with 3rd party libraries), this should be fixed.

My proposed solution by not falling back to UTF-8, if no character encoding is set or if it was cleared explicitly.

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