DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31202>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31202

Allow customization of the X-Powered-By header

           Summary: Allow customization of the X-Powered-By header
           Product: Tomcat 5
           Version: 5.0.28
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Connector:Coyote
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Section 5.2 of the Servlet 2.4 spec contains the following comment regarding the
X-Powered-By header:

<quote>
It is recommended that containers use the X-Powered-By HTTP header to publish
its implementation information. The field value should consist of one or more
implementation types, such as "Servlet/2.4". Optionally, the supplementary
information of the container and the underlying Java platform can be added after
the implementation type within parentheses. The container should be configurable
to suppress this header.
Here’s the examples of this header.
X-Powered-By: Servlet/2.4
X-Powered-By: Servlet/2.4 JSP/2.0 (Tomcat/5.0 JRE/1.4.1)
</quote>

Currently the connector only supports a boolean XpoweredBy attribute that when
enabled adds the hard coded "Servlet/2.4" value. There should be an
XpoweredByString or some such to allow the value of this header to be
externalized to the connector configuration.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to