Skip to content

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