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

Support for withCredentials attribute in request object #27

Open
dinorastoder opened this issue Feb 27, 2017 · 1 comment
Open

Support for withCredentials attribute in request object #27

dinorastoder opened this issue Feb 27, 2017 · 1 comment

Comments

@dinorastoder
Copy link

dinorastoder commented Feb 27, 2017

The withCredentials attribute

client . withCredentials
True when user credentials are to be included in a cross-origin request. False when they are to be excluded in a cross-origin request and when cookies are to be ignored in its response. Initially false.

When set: throws an InvalidStateError exception if state is not unsent or opened, or if the send() flag is set.

https://xhr.spec.whatwg.org/#the-withcredentials-attribute

Is it in plan to support withCredentials attribute so, at least to be by default to true, so code from browser can be used in server environment?

@edevil
Copy link

edevil commented Jun 20, 2018

Cookie support would be awesome.

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

No branches or pull requests

2 participants