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

set Accept headers #296

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

manjunathb4461
Copy link

According to w3 rules we have to set accept headers to */* for every OPTIONS request

According to [w3 rules](http://www.w3.org/TR/cors/#cors-preflight-fetch) we have to set accept headers to `*/*` for every OPTIONS request
@corydolphin
Copy link
Owner

According to w3 rules we have to set accept headers to */* for every OPTIONS request

Thank you for taking the time to make a PR. In my read of the W3 spec, the accept header should be specified by the client. Did you run into an issue whc

@manjunathb4461
Copy link
Author

Thanks for reviewing the PR. I believe since it is a pre-flight request we need to intimate to the user data type accepted in the real request.

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