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

Added Access-Control-Allow-Headers for CORS requests #886

Merged
merged 1 commit into from
Jul 10, 2014

Conversation

christriddle
Copy link

Specifying Content-Type, for instance, on a CORS request would cause the request to be rejected.

For example, in Angular.js, the default is to send Content-Type when using $http.put(). This would result in the following error:

Request header field Content-Type is not allowed by Access-Control-Allow-Headers

@philips
Copy link
Contributor

philips commented Jul 10, 2014

lgtm, thanks!

philips added a commit that referenced this pull request Jul 10, 2014
Added Access-Control-Allow-Headers for CORS requests
@philips philips merged commit 877b3d5 into etcd-io:master Jul 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants