{ "id": "65906", "key": "AC-2862", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-06-13T17:43:00.000+0000", "created": "2011-05-31T09:52:07.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "tguntharp", "key": "tguntharp", "displayName": "Tony Guntharp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:48.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Please check the attached usecase.\n\nAs you will notice, calling www.google.com and reading the \"Set-Cookie\" response parameter succeeds, but when I do the same on my own server running Apache (2.2.9) it returns null. It is definitely contained in the response header (see curl output).", "attachment": [ { "id": "18599", "filename": "headersbug.zip", "author": { "name": "systemfreund", "key": "systemfreund", "displayName": "Horst Koehler", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-31T09:52:07.000+0000", "size": 11372, "mimeType": "application/zip" } ], "flagged": false, "summary": "HTTP Client: getResponseHeader(\"Set-Cookie\") doesn't work on Apache", "creator": { "name": "systemfreund", "key": "systemfreund", "displayName": "Horst Koehler", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "systemfreund", "key": "systemfreund", "displayName": "Horst Koehler", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 1.6.2, iOS SDK 4.2, iOS SDK 4.3", "comment": { "comments": [ { "id": "134540", "author": { "name": "systemfreund", "key": "systemfreund", "displayName": "Horst Koehler", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Now this is embarrasing.\nPlease close this ticket again. \nI was unaware of the fact, that the server doesn't send Set-Cookie if the client doesn't request \"text/html\".\n\nSorry :)", "updateAuthor": { "name": "systemfreund", "key": "systemfreund", "displayName": "Horst Koehler", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-31T13:24:14.000+0000", "updated": "2011-05-31T13:24:14.000+0000" }, { "id": "156664", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Don't worry, Horst - thanks for letting us know.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-06-13T17:43:00.000+0000", "updated": "2011-06-13T17:43:00.000+0000" }, { "id": "163089", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closed after 30 days of inactivity.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-16T16:50:39.000+0000", "updated": "2011-08-16T16:50:39.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }