tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darryl Miles <>
Subject Re: Removal of headers in HttpServletResponse object
Date Thu, 20 Jul 2006 11:36:11 GMT
Geir Øvsttun (AS/ETO) wrote:
> Server: Apache-Coyote/1.1
> Content-Type: text/html;charset=ISO-8859-1
> Content-Length: 82
> Date: Thu, 20 Jul 2006 09:53:33 GMT
> These headers are not included by the various embedded devices I am trying to simulate.
> As the HttpServletResponse class does not have a removeHeader method (only add... And
set...) I am stuck.
> I have tried to look into the use of Filters but to my understanding the Filter also
relies on the methods of 
> HttpServletResponse for manipulation of the response object.

Have you checked that removing some of these headers is not in violation 
of a HTTP specification or other ?  I'm thinking the Date and 
Content-Type are the most likely candidates.

I presume you have tried to set it to a "null" value from a filter ?


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message