You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zoran Regvart (JIRA)" <ji...@apache.org> on 2019/05/14 10:18:00 UTC

[jira] [Resolved] (CAMEL-12966) camel-netty-http: use relative path by default

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

Zoran Regvart resolved CAMEL-12966.
-----------------------------------
    Resolution: Fixed

The default {{useRelativePath}} is now set to {{true}}. This makes it a good default for the most common use case of issuing requests against a HTTP server as opposed to against a proxy server.

See https://tools.ietf.org/html/rfc7230#section-5.3

> camel-netty-http: use relative path by default
> ----------------------------------------------
>
>                 Key: CAMEL-12966
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12966
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-netty4-http
>            Reporter: Nicola Ferraro
>            Assignee: Zoran Regvart
>            Priority: Major
>             Fix For: 3.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Netty-http 4 has a non-standard way of dealing with path, using the full url on the first line of the HTTP request. E.g.
>  
> GET [http://thehost/thepath]
> instead of:
> GET /thepath
>  
> This is controlled by the useRelativePath, that should be defaulted to "true" to be compatible with other components.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)