Skip to content

Conversation

@elmit
Copy link

@elmit elmit commented Sep 14, 2014

No description provided.

@Thibauth
Copy link
Owner

Thanks a lot. I agree that using Content-Type: application/json would be semantically better. However, if I remember correctly, a request with a Content-Type of application/json is no longer considered a "simple" request by the browser and is blocked by the same-origin policy.

Can you confirm/check that the requests sent by the extension still go through even when the Content-Type is set to application/json. Or do you assume that the server the requests are sent to will always support CORS?

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