Why?
On Mar 5, 2008, at 1:07 AM, Hanks Wang (hanwan) wrote:
Hi all,
I'd like to describe my problem clearer:
Currently the http header which generated by Tomcat is something like:
Accept-Ranges: none
Content-Type: text/plain
Server: test123
Can I change it into below order?
Server: test123
Accept-Ranges: none
Content-Type: text/plain
Thanks!
Han
-----Original Message-----
From: Hanks Wang (hanwan)
Sent: Wednesday, March 05, 2008 10:12 AM
To: Tomcat Developers List
Subject: Reorder the http header generate by tomcat
Hi all,
I edit server.xml as:
...
<Connector server="test123" port="8080"...>
It will add "server" item in my response header, so now the http
header
is something like:
Cache-Control: no-store, no-cache, must-revalidate
Accept-Ranges: none
Content-Type: text/plain
Connection: close
Server: test123
The "Server" is put to the last item of the http header.
So my question is : Is there a way to reorder the http header
instead of
having tomcat formulate them?
Thanks
Hanks
---------------------------------------------------------------------
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]