camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Netherton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-12029) CoAP component should handle method not allowed
Date Thu, 23 Nov 2017 15:43:00 GMT
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)

Mime
View raw message