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

fix(http) Force content type to be 'text/plain' #34

Merged
merged 1 commit into from Sep 23, 2015
Merged

Conversation

@ivangonekrazy
Copy link
Contributor

@ivangonekrazy ivangonekrazy commented Sep 22, 2015

This will let CORS requests be marked as a simple request and
therefore not require a preflight request.

While Chrome was using text/plain as the content-type, Safari defaults
to application/xml and therefore forcing a non-simple CORS request.

This will let CORS requests be marked as a simple request and
therefore not require a preflight request.

While Chrome was using text/plain as the content-type, Safari defaults
to application/xml and therefore forcing a non-simple CORS request.
@ivangonekrazy
Copy link
Contributor Author

@ivangonekrazy ivangonekrazy commented Sep 22, 2015

@tgrrtt can you please review?

sirsgriffin added a commit that referenced this pull request Sep 23, 2015
fix(http) Force content type to be 'text/plain'
@sirsgriffin sirsgriffin merged commit 29bc56b into master Sep 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.