[
https://issues.apache.org/jira/browse/CAMEL-12621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Fang resolved CAMEL-12621.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.23.0
2.22.1
2.21.2
> Rest DSL with Jetty9 components returns 404 instead of 405, when http method
> is not supported
> ---------------------------------------------------------------------------------------------
>
> Key: CAMEL-12621
> URL: https://issues.apache.org/jira/browse/CAMEL-12621
> Project: Camel
> Issue Type: Bug
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Priority: Major
> Fix For: 2.21.2, 2.22.1, 2.23.0
>
>
> For example when a GET request is expected but client send a POST, currently
> it returns 404, however, it should return 405 instead, as resource actually
> exists and just the HTTP method mismatch
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)