[ 
https://issues.apache.org/jira/browse/CAMEL-12029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265071#comment-16265071
 ] 

ASF GitHub Bot commented on CAMEL-12029:
----------------------------------------

Github user davsclaus closed the pull request at:

    https://github.com/apache/camel/pull/2112


> 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