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

Not working at all with Safari #62

Open
abelta opened this issue Apr 19, 2017 · 1 comment
Open

Not working at all with Safari #62

abelta opened this issue Apr 19, 2017 · 1 comment

Comments

@abelta
Copy link

abelta commented Apr 19, 2017

The gem works on all browsers I've tried except for Safari (10.1). The following line http_accept_language.preferred_language_from(I18n.available_locales) works as expected everywhere but returns null with Safari. I'm guessing that's because it handles the Accept-Language diferently.

@D-system
Copy link

Just tested on Safari 12.0 (14606.1.36.1.9), it work as expected.
What's the headers the browser send to the server?

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

2 participants