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

fix langage negotiation to choose generic if available when asking for specific #65

Merged

Conversation

jaugustin
Copy link

Hi,

We got the same issue has #26

The pull request allow to match a generic language from priorities at last resort if header only provide specific and none match.

I added a unit test :)

@willdurand this is the flexible solution you ask for in #26 but maybe you change your mind ;)

willdurand added a commit that referenced this pull request Oct 1, 2015
fix langage negotiation to choose generic if available when asking for specific
@willdurand willdurand merged commit 6d2c059 into willdurand:1.x Oct 1, 2015
@willdurand
Copy link
Owner

thanks!

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

Successfully merging this pull request may close these issues.

2 participants