Not out of the box, no. To do this properly you'd have to have a
Javascript interpreter running over the response body, checking to see
if anything was automatically submitting the form (and there are an
infinite number of ways an auto-redirect could be initiated in
Javascript). It would be very fragile, unless you only needed to
handle a set of specific auto-submit cases.

Hope this helps,

Sam


On 29 November 2011 22:11, Yao Dong <[email protected]> wrote:
> I send a request to a web server. And the request is redirect to a 
> auto-submit form
>
> <HTML><BODY onLoad="document.StandardPostForm.submit();">
> <form name="StandardPostForm" target="_top" method="POST" action="...">
> ...
> </HTML>
>
> I want this form could be submitted implicitly. Can httpclient do that?
>
> Thanks,
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to