You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (JIRA)" <ji...@apache.org> on 2017/11/23 15:43:00 UTC

[jira] [Created] (CAMEL-12029) CoAP component should handle method not allowed

James Netherton created CAMEL-12029:
---------------------------------------

             Summary: 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
    Affects Versions: 2.20.0
            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)