tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Erratic HTTP response behavior
Date Fri, 25 May 2007 21:02:58 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matt,

You're right, this /is/ erratic behavior. I think something is going
wrong with your headers or something:

Matt Cosentino wrote:
> </body></html>0 HTTP/1.1 200 OKServer: Apache-Coyote/1.1Transfer-Encoding:
chunkedDate: Fri, 18 May 2007 22:35:13 GMT

Your response headers appear to be after the body of the response.
Either that or the headers I see there are supposed to be the headers
from the next chunk and/or request in a keepalive request.

Are you intending to use "chunked" responses? 'Cause it looks like they
are being used. There was some in-depth discussion of chunked responses
somewhat recently on the list. Perhaps you could take a look at that for
some reference points (but I'm not saying that it will solve your problem).

I think the problem might be that you are getting chunked encoding for
some reason, but you don't really want it.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGV08C9CaO5/Lv0PARArfQAJoD+kMZLUVWthGyRuv0NWKIKSuXcACfYh+I
sJuvF8+a8MgIcIu3gd1hGak=
=u9oS
-----END PGP SIGNATURE-----

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


Mime
View raw message