hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalnichevski, Oleg" <oleg.kalnichev...@bearingpoint.com>
Subject RE: Thounds of "Response content length is not known" in the log file
Date Fri, 21 Nov 2003 15:35:55 GMT
Not a thousand. Just one per request. 

As I said already, if the server in question does not do something outrageously stupid (like
sending neither 'Content-Length' nor 'Transfer-Encoding', nor 'Connection: close') the problem
has already been solved for rc3

Oleg

-----Original Message-----
From: klaus.kopruch@Materna.de [mailto:klaus.kopruch@Materna.de]
Sent: Friday, November 21, 2003 16:31
To: commons-httpclient-dev@jakarta.apache.org
Subject: AW: Thounds of "Response content length is not known" in the
log file


But not thousands :-(

May be it should be possible to configure "bad servers" which are "allowed"
to respond without content-length.

> -----Urspr├╝ngliche Nachricht-----
> Von: Kalnichevski, Oleg [mailto:oleg.kalnichevski@bearingpoint.com]
> Gesendet: Freitag, 21. November 2003 16:14
> An: Commons HttpClient Project
> Betreff: RE: Thounds of "Response content length is not known" in the
> log file
> 
> 
> Odi,
> In this case I personally think that a warning message is 
> quite appropriate.
> 
> Oleg
> 
> -----Original Message-----
> From: Ortwin Gl├╝ck [mailto:ortwin.glueck@nose.ch]
> Sent: Friday, November 21, 2003 16:11
> To: Commons HttpClient Project
> Subject: Re: Thounds of "Response content length is not known" in the
> log file
> 
> 
> Kalnichevski, Oleg wrote:
> > Odi,
> > If I interpret the spec right, there's not much of a 
> difference. In HTTP/1.0 an entity enclosing response must 
> have 'Content-Length'. In HTTP/1.1 an entity enclosing 
> response must have 'Content-Length' OR 'Transfer-Encoding'. 
> It is not allowed to have neither.
> 
> Yes, but the point is that some HTTP 1.0 severs send no 
> Content-Length 
> and just close the connection after the response. Even though 
> RFC 1945 
> section 7.2 clearly requires a Content-Length.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
> 

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


---------------------------------------------------------------------
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