[Webtest] Getting headers on a HTTP 302 redirect

Arnaud Lesueur webtest@lists.canoo.com
Fri, 23 Jun 2006 14:30:09 +0200 (CEST)


Ok thank you for these explanations. I am less confused now :-)

Arnaud


Le Ven 23 juin 2006 14:21, Marc Guillemot a écrit :
> Hi Arnaud,
>
>
> httpclient.HttpMethodDirector's message just means that httpclient doesn't handle redirects itself: they are handled
> by htmlunit.
>
> Setting of RedirectEnabled on the WebClient tells htmlunit if
> redirection requests need to be followed or not.
>
> Marc.
>
>
> Arnaud Lesueur wrote:
>
>> Marc, Paul,
>>
>>
>> Thanks for your answers both solutions are working but I am a bit confused with the following line in my logs :
>>
>>
>> "[webtest] (httpclient.HttpMethodDirector       813 ) Redirect requested but followRedirects is disabled"
>>
>>
>> This line appears even if I do not set any option on RedirectEnabled. That's why I am a bit disappointed ... What
>> is the difference between followRedirects and RedirectEnabled ???
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>
>
>