{ "id": "79469", "key": "TIMOB-5059", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-09-14T13:49:59.000+0000", "created": "2011-08-19T13:57:29.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "defect", "httpclient", "ios", "reported-1.6.1" ], "versions": [ { "id": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" } ], "issuelinks": [ { "id": "12490", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "63992", "key": "TIMOB-3360", "fields": { "summary": "iOS: \"302 Found\" redirect drop authorization header", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-09-14T13:49:59.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
The Titanium.Network.HTTPClient correctly follows a \"302 Found\"\r\nredirect. On the iPhone however it does not carry the http\r\nauthorization header in the next request (ending in a 401 response\r\nfrom the server). I have not had this a problem with android, ie,\r\nthe authorization header is in the redirected request.
\r\nProblem found using SDK 1.6.0 & 1.6.1 and iOS 4.2 (device\r\nand simulator).