tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Reorder the http header generated by tomcat
Date Wed, 05 Mar 2008 15:55:55 GMT
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: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>


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


Mime
View raw message