Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Using cookie-node alongside writeHead #13

vanwaril opened this Issue · 1 comment

2 participants

vanwaril Jeremy Apthorp

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.

Jeremy Apthorp

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
Something went wrong with that request. Please try again.