Skip to content

Instantly share code, notes, and snippets.

@brainv
Created June 6, 2013 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brainv/5720493 to your computer and use it in GitHub Desktop.
Save brainv/5720493 to your computer and use it in GitHub Desktop.
response.headers has no cookie
request({
uri: "https://domain.com/aut/?tsurbanes="+eklabu,
method: "GET",
strictSSL: false
}, function(error, response, body) {
console.log(body);
console.log(response.headers);
console.log(error);
});
@brainv
Copy link
Author

brainv commented Jun 6, 2013

this is the headers i got

{ date: 'Thu, 06 Jun 2013 09:58:10 GMT',
  server: 'Apache',
  expires: 'Thu, 19 Nov 1981 08:52:00 GMT',
  'cache-control': 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0',
  pragma: 'no-cache',
  'keep-alive': 'timeout=5, max=100',
  connection: 'Keep-Alive',
  'transfer-encoding': 'chunked',
  'content-type': 'text/html' }

@brainv
Copy link
Author

brainv commented Jun 6, 2013

so seems like the server is not sending me any cookie. can anyone help me hit my head on the wall?

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