[ 
https://issues.apache.org/jira/browse/FELIX-4981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien PAILHES updated FELIX-4981:
----------------------------------
    Description: 
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?

  was:
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 put "false" as documented?


> [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
>
> 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