tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5322] - HttpResonseBase class sends headers with multiple field-values in a non HTTP compliant fashion.
Date Sat, 08 Dec 2001 09:46:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5322>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5322

HttpResonseBase class sends headers with multiple field-values in a non HTTP compliant fashion.

remm@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Normal                      |Enhancement
          Component|Catalina                    |HTTP/1.1 Connector
           Priority|Other                       |Low



------- Additional Comments From remm@apache.org  2001-12-08 01:46 -------
There's a small misunderstanding here.
It only means that you can have multiple headers like that only and only if you 
can replace them by only one header, with the two values delimited by commas. 
If not, you can't have multiple headers with the same name.

With header 'foo', if
Foo: bar
Foo: bar2
means the same that:
Foo: bar, bar2
Then both are valid.

If they are not equivalent, then the first form is not allowed.
Using the addXXXHeader methods implies that the first form is valid.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message