I'm running apache 2.2.11->mod_jk 1.2.27->tomcat 6.0.18. I'm attempting
to gzip javascript output from apache (static files), and tomcat
(servlets with javascript content types). I'm using mod_deflate in
apache to do this.
Here's my problem. When the request is to a servlet (static apache files
and JSPs through mod_jk are fine) in the form of a GET, instead of
sending a Content-Length response header, I get a Transfer-Encoding:
chunked header
I'd like to know:
1) What are the causes of either Tomcat (or Apache is it?) enabling
chunking on the connection?
2) How do I get a Content-Length reponse header instead? Do I need to
downgrade the client to HTTP/1.0 or is there another way?

FYI, the reason I'm trying to do this is that I use a CDN, and they
won't cache my data without the presence of a Content-Length response
header, so my servlet data isn't getting cached at the CDN.

-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abia...@formatdynamics.com
http://www.formatdynamics.com



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

Reply via email to