Re: HttpServletResponse handling

2003-10-24 Thread Bill Barker
Tim is correct.  If you are using the AJP Connectors, you are SOL since it
will be Apache/IIS/SunONE that sets these headers.  With the Standalone
HTTP/1.1 Connector, of course it is Tomcat that sets them.

The "Date" header is mandated by the HTTP/1.1 RFC (and, without looking, I
believe by the HTTP/1.0 RFC).  If you strip this one, you have one very
broken server that probably won't play well with browsers and proxy-servers.
The "Server" header is mostly fluff.  However, porting the TC 3.3 feature
that allows you to configure the value of this might be worth doing.


"Tim Funk" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Via past converstions about this - I think it was the connectors that set
the
> Server header. Thats why the recompile was needed. (But I was just lurking
> for that thread)
>
> -Tim
>
> Shapira, Yoav wrote:
> > Howdy,
> > Could you supply your own HttpServletResponseWrapper, which would set
> > these headers to a flag, empty, or null value per your requirements?
> >
> > Yoav Shapira
> > Millennium ChemInformatics
> >
> >
> >
> >>-Original Message-
> >>From: Tim Funk [mailto:[EMAIL PROTECTED]
> >>Sent: Thursday, October 23, 2003 6:39 PM
> >>To: Tomcat Users List
> >>Subject: Re: HttpServletResponse handling
> >>
> >>AFAIK, No. (Unless you recompile the source)
> >>
> >>If your using apache in front - there is probably a module that does
> >
> > what
> >
> >>you
> >>need.
> >>
> >>-Tim
> >>
> >>William Bondy wrote:
> >>
> >>>Is there a way to suppress the "Date" and "Server" headers from being
> >>>automatically generated in HttpServletResponses ?
> >>>
> >>
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> > 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]
> >
> >
> >




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



Re: HttpServletResponse handling

2003-10-24 Thread Tim Funk
Via past converstions about this - I think it was the connectors that set the 
Server header. Thats why the recompile was needed. (But I was just lurking 
for that thread)

-Tim

Shapira, Yoav wrote:
Howdy,
Could you supply your own HttpServletResponseWrapper, which would set
these headers to a flag, empty, or null value per your requirements?
Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 6:39 PM
To: Tomcat Users List
Subject: Re: HttpServletResponse handling
AFAIK, No. (Unless you recompile the source)

If your using apache in front - there is probably a module that does
what

you
need.
-Tim

William Bondy wrote:

Is there a way to suppress the "Date" and "Server" headers from being
automatically generated in HttpServletResponses ?


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




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]




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


RE: HttpServletResponse handling

2003-10-24 Thread Shapira, Yoav

Howdy,
Could you supply your own HttpServletResponseWrapper, which would set
these headers to a flag, empty, or null value per your requirements?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Tim Funk [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 23, 2003 6:39 PM
>To: Tomcat Users List
>Subject: Re: HttpServletResponse handling
>
>AFAIK, No. (Unless you recompile the source)
>
>If your using apache in front - there is probably a module that does
what
>you
>need.
>
>-Tim
>
>William Bondy wrote:
>> Is there a way to suppress the "Date" and "Server" headers from being
>> automatically generated in HttpServletResponses ?
>>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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]



Re: HttpServletResponse handling

2003-10-23 Thread Tim Funk
AFAIK, No. (Unless you recompile the source)

If your using apache in front - there is probably a module that does what you 
need.

-Tim

William Bondy wrote:
Is there a way to suppress the "Date" and "Server" headers from being
automatically generated in HttpServletResponses ?


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