Hello!

As I understand by default HttpClient automatically handles Redirect
replies from server (follows the redirect link included in the answer
from a server).
I wonder if and how is it possible to disable this behaviour and
handle redirects manually, meaning that I can get redirect link from
the reply, modify it and issue a new http request. In a "desktop"
version of HttpClient/HttpMethod one can do it as follows:

HttpMethod method = new GetMethod(requestUrl);
method.setFollowRedirects(false);

How can I do the same under Android?

Thank you in advance for replies!

Best regards,
Eligijus




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to