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

update xmlhttprequest dependency #512

Closed
wants to merge 1 commit into from

Conversation

jfromaniello
Copy link

I really wish you could bump to xmlhttprequest version. 1.5.0 has a `setDisableHeaderCheck`` that allows me to pass a cookie in there.. This allows me to monkeypatch xmlhttprequest to use the cookie I want so I can authenticate my client as shown in this gist:

https://gist.github.com/4087861

thank you very much

@marcelfalliere
Copy link

guyz,
I know it's late and out of subject, but I can't seem to find any doc on �setDisableHeaderCheck. It's not on w3c xmlhttprequest spec page, google finds only two pages of gist and stuff like that. Would you be kind enough to point me in a direction ?
Sorry to bother this thread.

@jfromaniello
Copy link
Author

@marcelfalliere xmlhttprequest is a node.js module that mimics the behavior and interface of the Browser's XmlHttpRequest. You can't disable the header check process on the browser, this is a mechanism that prevents user changing some headers like cookie header.

@gkorland
Copy link

Is this pull request still relevant?

@rauchg
Copy link
Contributor

rauchg commented Feb 22, 2014

Nope. Should be good on master

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

4 participants