You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure I follow the first part about being a multi-value. This should be supported (only qualities are ignored) and if not, it's a bug. Mind providing more details on this?
ThijsBroersen
changed the title
Support a multi-valued Accept-header and add quality factors to content negotiation
Add quality factors to content negotiation
Jan 3, 2019
@vkostyukov you are correct, it takes the first Content-Type that matches any value from the Accept-header. And when no match is found it returns the last Content-Type of a coproduct.
My tests were a bit off...
As a user I would also like quality factors within an Accept-header to be respected.
E.g.
Currently the quality factors are ignored.
The text was updated successfully, but these errors were encountered: