hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "martin hilpert" <tec...@hipposen.de>
Subject Re: OutOfMemory if using PUT
Date Wed, 17 Mar 2004 10:40:51 GMT
Hello Oleg,

> The problem is most likely caused by the PUT method buffering the request
body in order to determine its length
>
that means there is no work around WITH PUT ?


> You can avoid this problem by
>
> (1) using chunk-encoding
>
>
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/examples/Ch
unkEncodedPost.java?rev=1.4.2.1&only_with_tag=HTTPCLIENT_2_0_BRANCH&view=mar
kup
>
> (2) explicitly specifying the content length
>
>
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/examples/Un
bufferedPost.java?rev=1.2.2.1&only_with_tag=HTTPCLIENT_2_0_BRANCH&view=marku
p
>
that are both POST requests?



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message