You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Minder (JIRA)" <ji...@apache.org> on 2013/09/27 03:08:03 UTC

[jira] [Commented] (KNOX-106) The Host request header should be rewritten or removed

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

Kevin Minder commented on KNOX-106:
-----------------------------------

This may be as simple as adding Host to the AbstractGatewayDispatch EXCLUDE_HEADERS map.  HTTPClient will likely then provide the correct header for the dispatch request.
                
> The Host request header should be rewritten or removed
> ------------------------------------------------------
>
>                 Key: KNOX-106
>                 URL: https://issues.apache.org/jira/browse/KNOX-106
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.2.0
>            Reporter: Kevin Minder
>             Fix For: 0.4.0
>
>
> The Host request header is currently being passed through.  This means that the Hadoop service will get the host:port of the gateway.  The request should have the host:port of the service being requested.  See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html section 14.23.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira