commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <>
Subject Re: HTTPClient Feature Patch
Date Mon, 24 Feb 2003 18:36:17 GMT
Thoralf Rickert wrote:
> But what about the #setRequestBody(String body) method. OK, I could use a
>     ProgressInputStream(new ByteArrayInputStream(body.getBytes()))
> as the body.

Note: You should use the String.getBytes(String) method to specify an 
encoding. Otherwise your code will not be portable to some platforms.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message