tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Glunde <>
Subject Servlet with individual Http Headers
Date Sat, 21 Jul 2001 16:21:56 GMT

does anybody know if it is possible to send Http Headers with tomcat of
the form

Http/1.0 200 OK
Context-Type: text/html
Context-Type: multipart/mixed;boundary=ThisRandomString

and nothing else? As far I have already seen from tests and the source
it always sends

Http/1.1 200
Date: Sat. 21 Jul 2001 14:58:00 GMT
Server: Apache .....
Connection: close
Content-Type: multipart/mixed:boundary=Part

So I want to omit the Date, Server and Connection Headers and in
addition want to send two Content-Types - what is probably not correct
to the HTTP specification but you can send this from plain cgi and it
works for my proposal.

In addition when I try to set the connection to keepalive i get a
Connection header of keepalive, close. What makes no sense in my

Thanks in advance for any hints from you

Torsten Glunde

View raw message