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

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

jamesnetherton opened a new pull request #2112: CAMEL-12029: Return 4.05 
response if no consumers were found for the request method
URL: https://github.com/apache/camel/pull/2112
 
 
   https://issues.apache.org/jira/browse/CAMEL-12029

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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, 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