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-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-dev-help@;jakarta.apache.org>

Reply via email to