tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrique Rodriguez Lasterra <laste...@javahispano.org>
Subject Re: content length on response
Date Mon, 24 Oct 2005 20:43:57 GMT
Yes, the problem was on my servlets. they don't use  setContentLength
method on the response.

If this is tomcat default behaviour I suppose that it's better not using
it, but, in some circunstances, some clients need this http header
variable for reading response.

Regards, Enrique.



El lun, 24-10-2005 a las 10:55 -0700, Hassan Schroeder escribió:
> Enrique Rodriguez wrote:
> > I have 9-8 tomcat with version 4.1.23 or 5.5.9. They never put
> > content-length http header variable on responses.
> 
> I just grabbed a JSP page from a 5.5.9 install with LiveHTTPHeaders
> running and it shows a Content-Length header; maybe you can provide
> more detail about the circumstances where you're seeing a problem...
> 
> -- from LiveHTTPHeaders -------------------------------------------
> HTTP/1.x 200 OK
> Server: Apache-Coyote/1.1
> Set-Cookie: JSESSIONID=239B66FD15DE288F747E131C098425E1; Path=/
> Content-Type: text/html;charset=UTF-8
> Content-Length: 313
> Date: Mon, 24 Oct 2005 17:49:04 GMT
> --------------------------------------------------------------------
> 
-- 
_______________________________
Enrique Rodriguez Lasterra
lasterra AT javahispano DOT org
http://www.javahispano.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message