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

Claus Ibsen resolved CAMEL-12029.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.21.0
                   2.20.2
                   2.19.5

> CoAP component should handle method not allowed
> -----------------------------------------------
>
>                 Key: CAMEL-12029
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12029
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-coap
>            Reporter: James Netherton
>            Assignee: James Netherton
>            Priority: Minor
>             Fix For: 2.19.5, 2.20.2, 2.21.0
>
>
> If you hit a CoAP consumer endpoint using a method that it does not support, 
> an NPE is thrown within CamelCoapResource and it returns an 'internal server 
> error' response to the client.
> We should detect this scenario and as per RFC 7252, and return a response 
> like '4.05 Method Not Allowed'.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to