{ "id": "137669", "key": "AC-1074", "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": "2015-09-28T15:41:31.000+0000", "created": "2014-10-06T09:35:32.000+0000", "labels": [ "TCSupportTriage" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:25.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h2. Problem description\r\nFrom titanium 3.3.0, when sending a POST request that being redirected with http code 303, the redirection is followed using POST method instead of GET (POST/redirect/GET design pattern).\r\n\r\nh2. Test case\r\nRun this sample code with 3.2.3.GA, then with 3.3.0.GA :\r\n{code}\r\n var handler = function(e) { Titanium.API.info( e, http.responseText ); };\r\n var http = Ti.Network.createHTTPClient({\r\n onload: handler,\r\n onerror: handler,\r\n timeout: 1000\r\n });\r\n http.open('POST', 'http://jigsaw.w3.org/HTTP/300/Go_303');\r\n http.setRequestHeader(\"Content-Type\", \"application/x-www-form-urlencoded\");\r\n http.send();\r\n{code}\r\n\r\nh2. Expected results\r\nRunning Titanium *3.2.3*, output should be :\r\n{code}\r\n {\r\n code = 0;\r\n source = \"[object TiNetworkClient]\";\r\n success = 1;\r\n type = load;\r\n }\r\n ...