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

Don't include API key for firefox or other browsers #16

Merged
merged 2 commits into from
Jun 13, 2016

Conversation

mohamedhafez
Copy link
Contributor

Firefox will fail with a 400 Bad Request if the api key header is included. Instead of having the user have to figure out themselves whether a particular subscription is a Chrome or Firefox subscription, lets do it for them here.

Firefox will fail with a 400 Bad Request if the api key header is included. Instead of having the user have to figure out themselves whether a particular subscription is a Chrome or Firefox subscription, lets do it for them here.
@rossta
Copy link
Collaborator

rossta commented Jun 10, 2016

Makes sense. I think it would be useful to provide a test case for this behavior.

@mohamedhafez
Copy link
Contributor Author

Sure, I've fixed the failing test and added a new one to test this behavior

@zaru zaru merged commit d8915a9 into zaru:master Jun 13, 2016
@zaru
Copy link
Owner

zaru commented Jun 13, 2016

merged, thank!

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.

3 participants