[TIMOB-1322] iOS: httpclient - redirect issue and cookies
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2012-07-26T11:43:43.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Neeraj Gupta |
Created | 2011-04-15T02:49:23.000+0000 |
Updated | 2012-07-26T22:33:40.000+0000 |
Description
a customer is using http client to login to a web site. a successful login causes a redirect. the result is that our http client returns a status of 200 but the cookies are null. if the login fails, the cookies are present. we need to investigate if there is a way to get this use case to work correctly.
here's the ticket with sample code:
http://developer.appcelerator.com/helpdesk/add_comment/28361">http://developer.appcelerator.com/helpdesk/add_comment/28361
Test unavailable. Cannot resolve without an explicit test and configured web server which sends the response which causes the issue.
What sort of info do you need? Our authentication system fits into this scenario. I get the above result but I can get the cookie if I use autoRedirect = false.
We require full sample code which demonstrates the problem, as stated above.
Why was this issue closed? I can provide this code next week (timeline-challenged right now).
@Chris - Please add a test case to this ticket and I would reopen it and schedule it for next release.