[ 
https://issues.apache.org/jira/browse/FELIX-4981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647775#comment-14647775
 ] 

Carsten Ziegeler commented on FELIX-4981:
-----------------------------------------

Thanks for reporting, I think the docs are wrong - and to have the least 
surprises for people updating, I'll correct the docs

> [Jetty] sendServerHeader default value is true instead of false as documented
> -----------------------------------------------------------------------------
>
>                 Key: FELIX-4981
>                 URL: https://issues.apache.org/jira/browse/FELIX-4981
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http.jetty-3.0.2
>            Reporter: Adrien PAILHES
>            Assignee: Carsten Ziegeler
>             Fix For: http.jetty-3.1.0
>
>
> According to 
> http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html#configuration-properties,
>  org.apache.felix.http.jetty.sendServerHeader default value is "false".
> In fact, if you look the code, it's "true".
> See org.apache.felix.http.jetty.internal.JettyConfig#isSendServerHeader on 
> the trunk:
> {code}
>     public boolean isSendServerHeader()
>     {
>         return getBooleanProperty(FELIX_JETTY_SEND_SERVER_HEADER, true);
>     }
> {code}
> Can we just set "false" as documented?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to