On 9/4/07, Póka Balázs <[EMAIL PROTECTED]> wrote: > which must be wrong, because it sets the ContentLength header to be > the length of the _uncompressed_ request, but returning the compressed > message. This is bad according to the HTTP spec.
Do you have a quote that supports your opinion? > "I/O exception (org.apache.commons.httpclient.NoHttpResponseException) > caught when processing request: The server xxxxxx.xx failed to respond > Retrying request causes "I/O error while communicating with HTTP > server: Unbuffered entity enclosing request can not be repeated." > The HTTPClient got an EOFException while transmitting the request or > receiving the reply. It couldn't retry, because isRepeatable() > returned false. I went through the code to find (if I'm right, again) > that there is nothing to prevent the writeRequest() method to be > called more than one time, every time writing the same result. So my > proposal is to simply return true so that the HTTPClient may call > writeRequest() more than once if it fails. Applied, thank you. Jochen -- Look, that's why there's rules, understand? So that you think before you break 'em. -- (Terry Pratchett, Thief of Time) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]