Bug 16254 - invalid response header
Summary: invalid response header
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 4
Classification: Unclassified
Component: Unknown (show other bugs)
Version: 4.1.18
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-20 12:47 UTC by Holger Schulz
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Schulz 2003-01-20 12:47:45 UTC
Hello!

I tried to override the "Server" information of the response header by a filter 
servlet.
But "response.setHeader("Server", "no name")" does not override the existing 
attribute. The information appears twice!

hdr> HTTP/1.1 200 OK
hdr> Server: no name
[...]
hdr> Server: Apache Coyote/1.0
hdr> Connection: close

I think it had been working well in Tomcat 3.??

Ciao
    Holger
Comment 1 Mark Thomas 2004-08-23 19:31:34 UTC
Fixed in CVS.