We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Werkzeug version: 0.16.0
Used through Flask.
In flask:
print("Accept-Language: %s" % (request.accept_languages,)) print("Best match: %s" % (request.accept_languages.best_match(["en"]),))
Comes back with:
Accept-Language: en-gb Best match: None
When request comes from Safari. UA:
Mozilla/5.0 (iPhone; CPU iPhone OS 13_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Mobile/15E148 Safari/604.1
According to #450, Best match should be en instead.
en
The text was updated successfully, but these errors were encountered:
It's marked for the 1.0.0 milestone.
Sorry, something went wrong.
No branches or pull requests
Werkzeug version: 0.16.0
Used through Flask.
In flask:
Comes back with:
When request comes from Safari. UA:
According to #450, Best match should be
en
instead.The text was updated successfully, but these errors were encountered: