Re: Problem reading the Accept-Encoding header from a request

2007-04-14 Thread Christian Hvitved
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

Re: Problem reading the Accept-Encoding header from a request

2007-04-14 Thread Hassan Schroeder
On 4/14/07, Christian Hvitved <[EMAIL PROTECTED]> wrote: It was my firewall Another thing is, that I think this is a big problem if many firewalls make it impossible to compress responses using the accept-encoding header. Can you clarify what kind of "firewall" you're talking about? Desktop

Re: Problem reading the Accept-Encoding header from a request

2007-04-14 Thread Christian Hvitved
ristian Hvitved" <[EMAIL PROTECTED]> To: "Tomcat 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 sur

Re: Problem reading the Accept-Encoding header from a request

2007-04-14 Thread Martin Gainty
sage - From: "Christian Hvitved" <[EMAIL PROTECTED]> To: "Tomcat 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 n

Re: Problem reading the Accept-Encoding header from a request

2007-04-14 Thread Christian Hvitved
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 recieve the request on the server (And I know by using a proxy that the request contains an Accept-Encoding header). At the server I cannot read

Re: Problem reading the Accept-Encoding header from a request

2007-04-13 Thread Rashmi Rubdi
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: response.addHeader("Accept-Enc

Re: Problem reading the Accept-Encoding header from a request

2007-04-13 Thread Rashmi Rubdi
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 text/xml,application/xml,application/xhtml

Re: Problem reading the Accept-Encoding header from a request

2007-04-13 Thread Martin Gainty
t; Sent: Friday, April 13, 2007 12:05 PM Subject: Problem reading the Accept-Encoding header from a request 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 aros

Problem reading the Accept-Encoding header from a request

2007-04-13 Thread 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 s