Skip to content

Fix preferring earlier candidates #3

Merged
merged 1 commit into from Feb 5, 2014

2 participants

@xaka
xaka commented Feb 4, 2014

If Accept header has 'application/xml, application/json' and we pass ['application/json', 'application/xml'], we expect to get 'application/xml' as a result because it goes first in Accept header.

@xaka xaka Fix preferring earlier candidates
If Accept header has 'application/xml, application/json' and we pass ['application/json', 'application/xml'], we expect to get 'application/xml' as a result because it goes first in Accept header.
96b6179
@niclashoyer
Owner

Thank you! I'll push a new release in a few moments.

@niclashoyer niclashoyer merged commit 1a1ebd6 into niclashoyer:master Feb 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.