Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
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'.