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

Add support for withCredentials #610

Merged
merged 1 commit into from Aug 18, 2017
Merged

Conversation

jfpalacios
Copy link

Added support for withCredentials flag on the xhr object.

@goldfire
Copy link
Owner

Can you explain the use-case for this?

@jfpalacios
Copy link
Author

For when we have a cross site request where we need to send cookie information. In my particular case I am requesting a file from another domain and I need to send cookie credentials otherwise the other domain will reject my request.

https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials

@jomasti
Copy link

jomasti commented Oct 14, 2016

Are there any issues keeping this from being merged?

@goldfire goldfire merged commit 1ed32d7 into goldfire:master Aug 18, 2017
ringcrl pushed a commit to ringcrl/howler.js that referenced this pull request Apr 21, 2019
Add support for withCredentials
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

3 participants