title: Multiple 'Cookie' headers in a node.js request
body: <p>I've seen how to make a request with a single cookie, and I've seen how to write a response with multiple cookies, but does anyone know how to write a request in node.js using http module (if possible) with multiple 'Cookie' headers? </p>
  
  <p>So far the only ways I've seen to make a request in node.js involve passing an object as the parameter to a function, which would require having two identical keys.  </p>
  
  <pre><code>headers = {
      Cookie: firstCookie,
      Cookie: secondCookie
  }
  </code></pre>
  
  <p>so wouldn't work.</p>
  
  <p>This is a node.js question, but I'm not extremely confident with http, so I'm not sure if there isn't a way to set two distinct cookies in header.  Is it possible to concatenate the two into a single header?  Would a request with two separately defined cookies vary from one with a single header containing both?</p>