比如说想配置一下Tomcat吐出的response中的Server header的内容,默认tomcat会吐出:Apache-Coyote/1.1。
比如说我们可以配置成:BWS,GWS,AWS等。
可以参考Tomcat的手册:https://tomcat.apache.org/tomcat-7.0-doc/config/http.html
server
Overrides the Server header for the http response. If set, the value for this attribute overrides the Tomcat default and any Server header set by a web application. If not set, any value specified by the application is used. If the application does not specify a value then Apache-Coyote/1.1 is used. Unless you are paranoid, you won't need this feature.
具体方法是修改CATA