Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Christopher Schultz
Geir, > If this does not produce desired outcome I would look into Jon Wingfield's > suggestion of > -writing your own connector (which will specifically write its own response) > -using mod_headers to modify the outgoing headers.. I think that option #2 makes the most sense, as this was origin

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Martin Gainty
CTED]> Sent: Friday, July 21, 2006 5:53 AM Subject: RE: Removal of headers in HttpServletResponse object Hi all, I am still struggling with the removal of header problem. I found that the ServletResponse has a reset() method which should delete all headers. I thought maybe I could use this and then

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Jon Wingfield
ng the response to the client. For this to work must the reset() method be called from a Filter or a Valve ? Geir :-) -Original Message- From: Geir Øvsttun (AS/ETO) [mailto:[EMAIL PROTECTED] Sent: 21. juli 2006 08:41 To: Martin Gainty; users@tomcat.apache.org Subject: RE: Remova

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Markus Schönhaber
Geir Øvsttun wrote: > I am still struggling with the removal of header problem. > > I found that the ServletResponse has a reset() method which should delete > all headers. I thought maybe I could use this and then reconstruct the > response object with only the headers I want. I tried to do call t

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Jon Wingfield
ude a removeHeader method. Geir :-) -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 20. juli 2006 19:25 To: Geir Øvsttun (AS/ETO) Subject: Re: Removal of headers in HttpServletResponse object Geir- I found a complete Tomcat Valve example here at http://www.explain-i

RE: Removal of headers in HttpServletResponse object

2006-07-21 Thread AS/ETO
:[EMAIL PROTECTED] Sent: 21. juli 2006 08:41 To: Martin Gainty; users@tomcat.apache.org Subject: RE: Removal of headers in HttpServletResponse object Hi Martin, Thanks for the feedback but I am afraid that the example did not really solve my problem. As far as I can understand your example only

RE: Removal of headers in HttpServletResponse object

2006-07-20 Thread AS/ETO
. Geir :-) -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 20. juli 2006 19:25 To: Geir Øvsttun (AS/ETO) Subject: Re: Removal of headers in HttpServletResponse object Geir- I found a complete Tomcat Valve example here at http://www.explain-it.org/mediawiki/index.php

Re: Removal of headers in HttpServletResponse object

2006-07-20 Thread Darryl Miles
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 remo

Removal of headers in HttpServletResponse object

2006-07-20 Thread AS/ETO
Hi , For fast prototyping and test purposes I am trying to simulate the responses of various devices (web cameras with embedded web servers) by using Tomcat. The problem I have is that Tomcat (5.5.17) seems to add by default the following headers to the HTTP/1.1 200 OK response: Server: Apache-