title: node js express-session Set-Cookie on Postman/ Not in Flutter http headers
body: <p>I'm facing an issue trying to connect an flutter application with my nodejs backend with express-session. In postman the response header includes a &quot;Set-Cookie&quot;-Header, but the flutter headers with <code>http.post(...)</code> do not: headers: <code>{content-length: 113, content-type: application/json; charset=utf-8}</code>.</p>
  <p>I need a cookie to keep the authenticated session with passport. Any ideas how to fix it?</p>
  <p>Flutter headers:
  <code>host: '127.0.0.1:3000', connection: 'keep-alive', 'content-length': '57', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36', 'content-type': 'application/json; charset=utf-8', accept: '*/*', origin: 'http://localhost:51879', 'sec-fetch-site': 'cross-site', 'sec-fetch-mode': 'cors', 'sec-fetch-dest': 'empty', referer: 'http://localhost:51879/', 'accept-encoding': 'gzip, deflate, br', 'accept-language': 'de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7' </code></p>
  <p>Postman Headers: <code>'content-type': 'application/json', accept: '*/*', 'postman-token': '7c79280d-****-****-a985-c01395e50e08', host: 'localhost:3000', 'accept-encoding': 'gzip, deflate, br', connection: 'keep-alive', 'content-length': '66'</code></p>