title: Set-Cookie in Response Header not being set in browser
body: <p>I am having issues with trying to set a cookie from a Response Header, I can see the set-cookie key with all the options that i have specified but for some reason it is not being set in the browser (Chrome).</p>
  
  <p>I am setting the cookie using koajs, and reads as follows:</p>
  
  <pre><code>this.cookies.set(’test-cookie’, ‘valid’, { domain: ‘.test.io’, httpOnly: false, maxAge: 604800000 })
  </code></pre>
  
  <p>this is what I get in the response:</p>
  
  <p><code>GET https://api.test.io/conversion</code></p>
  
  <pre><code>set-cookie: test-cookie=valid; path=/; expires=Mon, 12 Jun 2017 14:23:40 GMT; domain=.test.io;
  </code></pre>
  
  <p>I have another request (GET <a href="https://identity.test.io/identity" rel="nofollow noreferrer">https://identity.test.io/identity</a>) that does a similar request and has the same set-cookie response and i can see this cookie in chrome dev tools.</p>
  
  <p>The only difference is api.test.io goes through several redirects (301), however we do not think that is the issue as we still see the set-cookie key in the final response header.</p>
  
  <p>nb: this cookie needs to work across multiple sites which is why we don’t set secure, signed or httpOnly.</p>