Users List [EMAIL PROTECTED]
Sent: Saturday, April 14, 2007 3:13 AM
Subject: Re: Problem reading the Accept-Encoding header from a request
Thank you very much for the comments.
But I'm still not sure why I have problems reading the Accept-Encoding
header on the server.
My problem is when I
Hi
The firewall on my laptop pc used is norton internet security 2005. It is
running on a danish windows xp. It is possible it has some customized
settings controlled by the administrators.
regards Christian
On 4/14/07, Hassan Schroeder [EMAIL PROTECTED] wrote:
On 4/14/07, Christian Hvitved
Hi support list
I am having a problem, with reading the Accept-Encoding header from a
request, which seems very simple.
I use Tomcat 6.0.10 on a dansih windows xp.
The problem arose when I was writing a special compression filter (I don't
want to use the one that ships with tomcat).
When the
notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: Christian Hvitved [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 13, 2007 12:05 PM
Subject: Problem reading the Accept-Encoding header
The problem arose when I was writing a special compression filter
I tried your code in a JSP directly (without using any other custom
compression filter)
and it prints as follows:
Accept-Encoding gzip,deflate
some other headers..
accept
As far as I understand, the Accept-Encoding header is set by the *browser*.
It is also possible to override the browser headers with
HttpResponse's addHeader (if the header doesn't exist) or setHeader
(to overwrite the header)
So you may want to try either one of: