{ "id": "61690", "key": "TIMOB-1058", "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": [ { "id": "11236", "name": "Release 1.6.0 M03", "archived": true, "released": true, "releaseDate": "2011-01-03" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:05.000+0000", "created": "2011-04-15T02:42:47.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "cookies", "enterprise", "ios", "iphone", "release-1.6.0", "rplist", "xhr" ], "versions": [], "issuelinks": [], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:05.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}
\nhttp://developer.appcelerator.com/question/30511/httpclient-multipl...
\ni think this is related to a setting on the ASIHttpRequest
Can anyone let me know if this will be resolved in monday's 1.4\nAs i have a subscription service app riding on this fix. I don't\nparticularly want to write a workaround to send the login details\nwith every request.
\nHowever i can't wait much longer before i get going rebuilding\nthis app in Titanium
\nRegards
\nRyan Tregea
For iPhone, this should be now resolved in master with \nhttps://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi....
\nI have tested locally with KS. Please test on your side. This\nwill be in the upcoming 1.4 release. You can build from head to\ntest.
This was fixed in iPhone. Need to test to make sure works in\nAndroid.
(from [907b19d1aff9dcdd2468df1af9a5ae64ba335918])\n[#2654 state:fixed-in-qa][#1058\nstate:fixed-in-qa] update HttpClient to support app wide HttpClient\ninstance
\nModified TiHTTPClient to be a static member so that the client\nvalues such as cookies will live over multiple requests. Also\nmodifed the credentials to now pay attention to the url scope they\nare assigned to and not used globally. Made an additional change to\nset the source property for HttpClient callbacks.
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/907b19d1aff9...
(from [f15f4e3195df40bc719c74afaa80f9460ef09619])\ngracefully handle when a http response returns 0 bytes [#1058]\n\nhttps://github.com/appcelerator/titanium_mobile/commit/f15f4e3195df...
verified opie's fix on Nexus S / 2.3.2