Hello Marcelo,

> But this url has a redirect!

What is the problem? HttpClient typically follows redirects
automatically if configured to do that:
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/HttpMethod.html#setFollowRedirects(boolean)

There are few cases where HttpClient is not allowed to follow
the redirect without user interaction. In that case, your
application will get a 3xx response and you can take the
target URL from the "Location" header in the response.

hope that helps,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to