node-XMLHttpRequest
node-XMLHttpRequest copied to clipboard
Support HTTP State Management
The W3C specification says:
If the user agent supports HTTP State Management it should persist, discard and send cookies (as received in the Set-Cookie response header, and sent in the Cookie header) as applicable.
As far as I can see from sources, this is not implemented yet
You are correct, support for persisting cookies should be added.
I've developed a companion Node module XMLHttpRequest-Cookie (see https://npmjs.org/package/xmlhttprequest-cookie) which wraps round this Node XMLHttpRequest module and adds full and automatic Cookie support.