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

James Netherton updated CAMEL-12029:
------------------------------------
    Affects Version/s:     (was: 2.20.0)

> 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
>
> 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, return a response like 
> '4.05 Method Not Allowed'.



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

Reply via email to