{"action":"created","issue":{"url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/944","labels_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/944/labels{/name}","comments_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/944/comments","events_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/944/events","html_url":"https://github.com/restlet/restlet-framework-java/issues/944","id":40660753,"number":944,"title":"Set-Cookie header duplicated in HTTP response","user":{"login":"dadocolussi","id":433613,"avatar_url":"https://avatars.githubusercontent.com/u/433613?v=3","gravatar_id":"","url":"https://api.github.com/users/dadocolussi","html_url":"https://github.com/dadocolussi","followers_url":"https://api.github.com/users/dadocolussi/followers","following_url":"https://api.github.com/users/dadocolussi/following{/other_user}","gists_url":"https://api.github.com/users/dadocolussi/gists{/gist_id}","starred_url":"https://api.github.com/users/dadocolussi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadocolussi/subscriptions","organizations_url":"https://api.github.com/users/dadocolussi/orgs","repos_url":"https://api.github.com/users/dadocolussi/repos","events_url":"https://api.github.com/users/dadocolussi/events{/privacy}","received_events_url":"https://api.github.com/users/dadocolussi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/restlet/restlet-framework-java/labels/Extension:%20JAX-RS","name":"Extension: JAX-RS","color":"fbca04"},{"url":"https://api.github.com/repos/restlet/restlet-framework-java/labels/Priority:%20high","name":"Priority: high","color":"eb6420"},{"url":"https://api.github.com/repos/restlet/restlet-framework-java/labels/State:%20new","name":"State: new","color":"009800"},{"url":"https://api.github.com/repos/restlet/restlet-framework-java/labels/Type:%20bug","name":"Type: bug","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"thboileau","id":1122782,"avatar_url":"https://avatars.githubusercontent.com/u/1122782?v=3","gravatar_id":"","url":"https://api.github.com/users/thboileau","html_url":"https://github.com/thboileau","followers_url":"https://api.github.com/users/thboileau/followers","following_url":"https://api.github.com/users/thboileau/following{/other_user}","gists_url":"https://api.github.com/users/thboileau/gists{/gist_id}","starred_url":"https://api.github.com/users/thboileau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thboileau/subscriptions","organizations_url":"https://api.github.com/users/thboileau/orgs","repos_url":"https://api.github.com/users/thboileau/repos","events_url":"https://api.github.com/users/thboileau/events{/privacy}","received_events_url":"https://api.github.com/users/thboileau/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/restlet/restlet-framework-java/milestones/36","html_url":"https://github.com/restlet/restlet-framework-java/milestones/2.3.2","labels_url":"https://api.github.com/repos/restlet/restlet-framework-java/milestones/36/labels","id":849867,"number":36,"title":"2.3.2","description":"","creator":{"login":"jlouvel","id":374450,"avatar_url":"https://avatars.githubusercontent.com/u/374450?v=3","gravatar_id":"","url":"https://api.github.com/users/jlouvel","html_url":"https://github.com/jlouvel","followers_url":"https://api.github.com/users/jlouvel/followers","following_url":"https://api.github.com/users/jlouvel/following{/other_user}","gists_url":"https://api.github.com/users/jlouvel/gists{/gist_id}","starred_url":"https://api.github.com/users/jlouvel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlouvel/subscriptions","organizations_url":"https://api.github.com/users/jlouvel/orgs","repos_url":"https://api.github.com/users/jlouvel/repos","events_url":"https://api.github.com/users/jlouvel/events{/privacy}","received_events_url":"https://api.github.com/users/jlouvel/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":7,"state":"open","created_at":"2014-11-02T06:44:51Z","updated_at":"2015-05-01T06:43:42Z","due_on":"2015-05-01T07:00:00Z","closed_at":null},"comments":1,"created_at":"2014-08-20T03:41:55Z","updated_at":"2015-05-01T06:43:49Z","closed_at":"2015-05-01T06:43:12Z","body":"I'm running Restlet with JAX-RS on Google App Engine. I have a simple test resource that adds one cookie to the response. I expected to see one ```Set-Cookie``` header in the HTTP response, but instead the HTTP response has the same cookie twice.\r\n\r\n```java\r\n@Path(\"/cookietest\")\r\npublic class CookieTestResource\r\n{\r\n        @GET\r\n        public Response test()\r\n        {\r\n                NewCookie cookie = new NewCookie(\"foo\", \"bar\");\r\n                return Response.noContent().cookie(cookie).build();\r\n        }\r\n}\r\n```\r\n\r\n```\r\nHTTP/1.1 204 No Content\r\nContent-Type: */*; charset=UTF-8\r\nDate: Wed, 20 Aug 2014 02:55:30 GMT\r\nAccept-Ranges: bytes\r\nServer: Development/1.0\r\nSet-Cookie: foo=\"bar\"; Version=\"1\"; Discard\r\nSet-Cookie: foo=\"bar\"; Version=\"1\"; Discard\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/comments/98058725","html_url":"https://github.com/restlet/restlet-framework-java/issues/944#issuecomment-98058725","issue_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/944","id":98058725,"user":{"login":"thboileau","id":1122782,"avatar_url":"https://avatars.githubusercontent.com/u/1122782?v=3","gravatar_id":"","url":"https://api.github.com/users/thboileau","html_url":"https://github.com/thboileau","followers_url":"https://api.github.com/users/thboileau/followers","following_url":"https://api.github.com/users/thboileau/following{/other_user}","gists_url":"https://api.github.com/users/thboileau/gists{/gist_id}","starred_url":"https://api.github.com/users/thboileau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thboileau/subscriptions","organizations_url":"https://api.github.com/users/thboileau/orgs","repos_url":"https://api.github.com/users/thboileau/repos","events_url":"https://api.github.com/users/thboileau/events{/privacy}","received_events_url":"https://api.github.com/users/thboileau/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T06:43:49Z","updated_at":"2015-05-01T06:43:49Z","body":"Thanks for reporting this issue. it has been fixed and will be available in 2.3.2."}}