Scott, Try using chunk-encoding and see if makes any difference http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/methods/EntityEnclosingMethod.html#CONTENT_LENGTH_CHUNKED http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/examples/ChunkEncodedPost.java?rev=HEAD&only_with_tag=HEAD&content-type=text/vnd.viewcvs-markup
Oleg -----Original Message----- From: Kaufmann, Scott [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 23:07 To: [EMAIL PROTECTED] Subject: 500 Server Error from IIS 4.0 with large Content-Length I'm using 2.0-rc2 of http client to mimic a form based application. Everything works fine until the Content-Length of my post gets above ~45K. Then I get an IIS 4.0 genereated 500 Server Error with the response body reading: <html><head><title>Error</title></head><body>Not enough storage is available to complete this operation. </body></html> However, if I use the GUI based form to post the same content from IE, it works without problems. Any ideas? Thanks, Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
