{"action":"created","issue":{"url":"https://api.github.com/repos/Mashape/unirest-nodejs/issues/50","labels_url":"https://api.github.com/repos/Mashape/unirest-nodejs/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/Mashape/unirest-nodejs/issues/50/comments","events_url":"https://api.github.com/repos/Mashape/unirest-nodejs/issues/50/events","html_url":"https://github.com/Mashape/unirest-nodejs/issues/50","id":63658936,"number":50,"title":"cannot get 'http-only; secure\" cookie from res.cookies","user":{"login":"anklos","id":530145,"avatar_url":"https://avatars.githubusercontent.com/u/530145?v=3","gravatar_id":"","url":"https://api.github.com/users/anklos","html_url":"https://github.com/anklos","followers_url":"https://api.github.com/users/anklos/followers","following_url":"https://api.github.com/users/anklos/following{/other_user}","gists_url":"https://api.github.com/users/anklos/gists{/gist_id}","starred_url":"https://api.github.com/users/anklos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anklos/subscriptions","organizations_url":"https://api.github.com/users/anklos/orgs","repos_url":"https://api.github.com/users/anklos/repos","events_url":"https://api.github.com/users/anklos/events{/privacy}","received_events_url":"https://api.github.com/users/anklos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-23T08:13:13Z","updated_at":"2015-03-23T08:29:21Z","closed_at":null,"body":"Hi there,\r\n\r\nI am trying to read cookies from a `get` response using `res.cookies`. I can get most cookies as I get from browser, except the cookie marked as `http-only` and `secure`.\r\n\r\nSo my question is why the `http-only; secure` cookie can be seen in browser cookies but not in `res.cookies`? \r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/Mashape/unirest-nodejs/issues/comments/84883646","html_url":"https://github.com/Mashape/unirest-nodejs/issues/50#issuecomment-84883646","issue_url":"https://api.github.com/repos/Mashape/unirest-nodejs/issues/50","id":84883646,"user":{"login":"anklos","id":530145,"avatar_url":"https://avatars.githubusercontent.com/u/530145?v=3","gravatar_id":"","url":"https://api.github.com/users/anklos","html_url":"https://github.com/anklos","followers_url":"https://api.github.com/users/anklos/followers","following_url":"https://api.github.com/users/anklos/following{/other_user}","gists_url":"https://api.github.com/users/anklos/gists{/gist_id}","starred_url":"https://api.github.com/users/anklos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anklos/subscriptions","organizations_url":"https://api.github.com/users/anklos/orgs","repos_url":"https://api.github.com/users/anklos/repos","events_url":"https://api.github.com/users/anklos/events{/privacy}","received_events_url":"https://api.github.com/users/anklos/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T08:29:21Z","updated_at":"2015-03-23T08:29:21Z","body":"the content in `res.headers['cookie']`, `res.headers['set-cookies']` and `res.cookies` are the same.\r\n\r\nif there is no such limitation top off your head, it probably because the cookie in the browser was stored from previous requests."}}