[AC-3113] When setAutoRedirect is false - 302 Redirects should not through an exception in TiHTTPClient.java
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2011-12-21T21:27:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | httpclient |
Reporter | Tim Ebenezer |
Assignee | Paul Dowsett |
Created | 2011-12-10T16:44:18.000+0000 |
Updated | 2016-03-08T07:48:10.000+0000 |
Description
When building for Android with latest version of mobilesdk if you setAutoRedirect to false, it's likely you want to deal with the response. However, in TiHTTPClient.java it throws an HTTPResponseException for any codes above 300, which includes 302 Redirects.
Thank you for raising this ticket. If you are able to provide all the information described in the [JIRA Ticket Checklist](http://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist) guidelines, *in the correct fields and using the right format*, I will be able to escalate it to the core team. Please click *edit* to amend the body of the ticket, rather than adding a comment. I will mark this resolved for now. Please reopen when the ticket is complete. Thanks in advance.
Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist) to ensure that we can escalate it quickly. Read [How to Submit a Bug Report](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report) if you have not read it before, and always start a ticket using the [JIRA Ticket Template](https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template). Thanks in advance