Using cookie-node alongside writeHead #13

Open
vanwaril opened this Issue Jan 4, 2011 · 1 comment

Projects

None yet

2 participants

vanwaril commented Jan 4, 2011

Its undocumented how to use cookie-node alongside a writeHead call. Only checking the source for cookie-node showed me it was looking for headers as an object -- I was passing headers to writeHead as an array of arrays, which is also supported, but cookie-node doesn't work with that.

cookie-node also fails if the call to writeHead has only one argument (the response code).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment