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

Make sure get doesnt send Content-Type headers. fixes #31 #43

Merged
merged 1 commit into from
Sep 27, 2016

Conversation

bedeoverend
Copy link
Contributor

This checks to see if a GET request is being made, in which case it removes the Content-Type header so as to not trigger a pre-flight OPTIONS request.

@bedeoverend bedeoverend merged commit 098131c into master Sep 27, 2016
@bedeoverend bedeoverend deleted the no-cors branch September 27, 2016 03:05
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.

None yet

1 participant