I looked at the docs and added to my 8080 non-SSL Connector in server.xml 
(tomcat 4.1.3) the following:

 compression="force"
 compressableMimeType="text/html,text/xml,*/*"

and when i send "Accept-Encoding: compress, gzip", I still am not getting 
compression.
java is adding this header:  Accept: text/html,   image/gif, image/jpeg, 
*; q=.2,  */*; q=.2

any suggestions .....  thanks much

Dave Been




"Shapira, Yoav" <[EMAIL PROTECTED]>
10/22/2004 08:04 AM
Please respond to "Tomcat Users List"
 
        To:     "Tomcat Users List" <[EMAIL PROTECTED]>
        cc: 
        Subject:        RE: Including Zip functionality in a filter...



Hi,

>>// Don't worry about writing a compression filter - tomcat comes with
one
>>on
>>its HTTP connector.
>
>Thanks ALOT for the suggestion.  We are just using Tomcat 4.1 and
Tomcat 5,
>is this still possible.  Could you send me an example how to use the
HTTP
>Connector.

Look at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html, the
compression attribute is covered well.

Yoav



This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your 
computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to