Merci Stefan! Applied.
 
-Vincent

> -----Original Message-----
> From: Stephan Merker [mailto:Stephan.Merker@;cegedim.fr]
> Sent: 17 October 2002 16:53
> To: [EMAIL PROTECTED]
> Subject: Bug in HttpClientConnectionHelper.addUserData()
> 
> Hello,
> 
> i struggled with a test that sends binary data as request body to the
> server.
> 
> The problem seems to be that HttpClientConnectionHelper.addUserData()
uses
> the (now deprecated) method PostMethod.setRequestBody(String), that
does
> unpredictable char to byte encoding. I changed it to
> PostMethod.setRequestBody(InputStream) and everything works fine for
me.
> 
> Stephan
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:cactus-dev-
> [EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:cactus-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-dev-help@;jakarta.apache.org>

Reply via email to