You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2017/06/09 03:26:18 UTC

[jira] [Resolved] (KNOX-932) Option to remove the server-name from HTTP-header response

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

Larry McCay resolved KNOX-932.
------------------------------
    Resolution: Fixed

[~ljmiv] - I've just committed this to master and it will be in the 0.13.0 release.
Thank you for the contribution!

> Option to remove the server-name from HTTP-header response 
> -----------------------------------------------------------
>
>                 Key: KNOX-932
>                 URL: https://issues.apache.org/jira/browse/KNOX-932
>             Project: Apache Knox
>          Issue Type: Improvement
>            Reporter: Kunal Rajguru
>            Assignee: Lawrence McCay IV
>              Labels: http-headers
>             Fix For: 0.13.0
>
>         Attachments: KNOX-932-001.patch
>
>
> Option to remove the server name which is sent as HTTP-Header in the response 
> For example :
> curl -i -k -u <username>:<password> -X GET 'https://localhost:8443/gateway/default/webhdfs/v1/?op=LISTSTATUS'
> HTTP/1.1 200 OK 
> Set-Cookie: JSESSIONID=fs2lu9w7jcgt1tshnfs1cqf8v;Path=/gateway/default;Secure;HttpOnly 
> Expires: Thu, 01 Jan 1970 00:00:00 GMT 
> Cache-Control: no-cache 
> Expires: Wed, 15 Mar 2017 12:49:24 GMT 
> Date: Wed, 15 Mar 2017 12:49:24 GMT 
> Pragma: no-cache 
> Expires: Wed, 15 Mar 2017 12:49:24 GMT 
> Date: Wed, 15 Mar 2017 12:49:24 GMT 
> Pragma: no-cache 
> Server: Jetty(6.1.26.hwx) 
> Content-Type: application/json 
> Content-Length: 2593



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)