In article <[EMAIL PROTECTED]>, Gael Marziou wrote:
> HttpMethodBase.checkValidRedirect() checks various cases where it says
> that HttpClient does not support redirection like port change or host
> change.
>
> I have 2 questions about this behavior:
>
> 1. Is this the final expected behavior?
>
> 2. If so, it may be interesting to replace general exception
> HttpException by a more specific one that could be caught by
> application to open a new connection.
>
> Thanks for any answer,
>
> Gael
>
I'm facing the same problem. My temporary solution is to wrap the call to
execute and reissue the whole request to the redirection location as returned by
getResponseHeader("location")
>From a *shallow* look at the code in HttpBaseMethod it seems to me quite
difficult to implement a full redirection at that level.
Eduardo
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>