{"action":"created","issue":{"url":"https://api.github.com/repos/jayway/rest-assured/issues/389","labels_url":"https://api.github.com/repos/jayway/rest-assured/issues/389/labels{/name}","comments_url":"https://api.github.com/repos/jayway/rest-assured/issues/389/comments","events_url":"https://api.github.com/repos/jayway/rest-assured/issues/389/events","html_url":"https://github.com/jayway/rest-assured/issues/389","id":96245272,"number":389,"title":"Custom cookie parsing fails when request contains redirect","user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jayway/rest-assured/labels/bug","name":"bug","color":"FFFFFF"},{"url":"https://api.github.com/repos/jayway/rest-assured/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/jayway/rest-assured/labels/invalid","name":"invalid","color":"FFFFFF"},{"url":"https://api.github.com/repos/jayway/rest-assured/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-21T07:03:13Z","updated_at":"2015-07-21T07:03:49Z","closed_at":null,"body":"_From [everf...@gmail.com](https://code.google.com/u/100456722887713625293/) on May 11, 2013 20:15:23_\n\nGiven: A request with a redirect as a result, f.e.\r\n\r\n@Test\r\n    public void logAll()\r\n    {\r\n        RestAssured.reset();\r\n        \r\n        given().log().all().when().get(\"/demo\"); //setting cookies, HTTP 302\r\n    }\r\n\r\nexpected: request can be used like all others.\r\nactual result:\r\n\r\nRequest method:\tGET\r\nRequest path:\thttp://localhost:8080/demo\r\nRequest params:\t\\<none>\r\nQuery params:\t\\<none>\r\nForm params:\t\\<none>\r\nPath params:\t\\<none>\r\nHeaders:\t\tContent-Type=*/*\r\nCookies:\t\t\\<none>\r\nBody:\t\t\t\\<none>\r\n\r\nAssumption: Since the Apache httpclient internally handles the redirect, rest assured is not noticing what happens before the final result.\r\nThis leads to lost cookies and possibly other problems.\n\n_Original issue: http://code.google.com/p/rest-assured/issues/detail?id=235_"},"comment":{"url":"https://api.github.com/repos/jayway/rest-assured/issues/comments/123193276","html_url":"https://github.com/jayway/rest-assured/issues/389#issuecomment-123193276","issue_url":"https://api.github.com/repos/jayway/rest-assured/issues/389","id":123193276,"user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T07:03:49Z","updated_at":"2015-07-21T07:03:49Z","body":"_From [johan.ha...@gmail.com](https://code.google.com/u/105676376875942041029/) on May 21, 2013 04:20:03_\n\nWhat kind of authentication are you using?"}}