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

Default Accept header of Java clients is not parsed #205

Closed
immunochomik opened this issue Aug 4, 2021 · 1 comment
Closed

Default Accept header of Java clients is not parsed #205

immunochomik opened this issue Aug 4, 2021 · 1 comment

Comments

@immunochomik
Copy link

immunochomik commented Aug 4, 2021

So, some java http clients, by default send following accept header text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2, and the problem is in q=.2, as according to the RFC 7231 https://httpwg.org/specs/rfc7231.html#rfc.section.5.3.1 we need the zero. And this results in 406 being sent to the client.

I think we could accept the q=.2 and q=0.2 variants.

@immunochomik
Copy link
Author

Ok as my PR was merged #206 then I am closing this issue :)

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