Hi Marcelo,

> I just put a
> httpClient.getParams().setParameter("http.protocol.content-type",
> "application/x-www-form-urlencoded");
> 
> and send the viewstate back to the site. Much simpler than I thought.
> 
> I´m working with httpClient for about 1,5 year (not an absolute
> begginer), but this is the first situation I need to set this parameter
> to encode correctly the form fields.

You haven't mentioned how you create the request. A PostMethod
fed with parameters should set that content type automatically.


> The HttpClient´s documentation is not the best, but the mailing list is
> great. Thanks!

We do what we can. Thanks for the thanks :-)

cheers,
  Roland


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

Reply via email to