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

Creating an API key in the Baidu Browser fails #86

Closed
vennekilde opened this issue Aug 29, 2015 · 1 comment
Closed

Creating an API key in the Baidu Browser fails #86

vennekilde opened this issue Aug 29, 2015 · 1 comment

Comments

@vennekilde
Copy link

One of my users was unable to create an API key, which i found to be caused due to his use of the Baidu Browser.

It seems that when using the Baidu Browser, the request made when trying to create an API key is malformed.

I am not sure which side this problem is at, but i looked at the request in Fiddler and found that the Content-Type is set to application/x-www-form-urlencoded instead of application/json; charset=UTF-8 (as with chrome), changing this and replaying the request created the API key successfully

Idk how many even use that browser, just figured i would report it

@lye
Copy link
Contributor

lye commented Dec 7, 2015

I mean, we're expressly setting application/json as the Content-Type (and the backend treats both differently, IIRC), so I'm not sure we'd want to fix this one. Our officially-supported browser list is IE9+, Chrome and Firefox; I'd recommend using one of those in general :<

@lye lye closed this as completed Dec 7, 2015
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