[
https://issues.apache.org/jira/browse/CAMEL-8734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740458#comment-14740458
]
Claus Ibsen commented on CAMEL-8734:
------------------------------------
The header is as the user typed. The check is only on the matching of whether
the consumer should trigger or not which is case insensitive.
If users would like case sensitive then log a new ticket. And use the vote
system to see what the demand is.
> camel-netty-http - Should ignore case of context-path
> -----------------------------------------------------
>
> Key: CAMEL-8734
> URL: https://issues.apache.org/jira/browse/CAMEL-8734
> Project: Camel
> Issue Type: Improvement
> Components: camel-netty-http, camel-netty4-http
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.15.3, 2.16.0
>
>
> We should ignore case when matching context-path. We have some code that
> matches using .startsWith. But that does not match with different case, such
> as Customer vs customer.
> People dont really want to expose HTTP services where the context path uses
> different case. So if people type /customer or /Customer or /CUSTOMER then it
> should match the same.
> See nabble
> http://camel.465427.n5.nabble.com/How-to-create-case-insensitive-URI-route-with-netty4-http-tp5766517.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)