forked from cujojs/rest
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support XMLHttpRequest withCredentials property
There are flags on the XHR that are important to set correctly in certain contexts. The 'withCredentials' property used by CORS is one example. As the context is essential, there is no good default value, thus we need to make it open to configuration. Rather than explicitly support each property, the xhr client now supports `request.mixin` which will copy all its properties directly on to the raw XHR object. Issue: cujojs#40
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters