CoAPthon3 is a porting to python3 of my CoAPthon library. CoAPthon3 is a python3 library to the CoAP protocol compliant with the RFC. Branch is available for the Twisted framework.
I am encountering a problem with nested endpoints when the first part of the path is registered as an own resource, like in Case 2 below. I have a patch but have to prepare it for a PR if wished.
from coapthon.client.helperclient import HelperClient
client = HelperClient(server=('127.0.0.1', 5683))
client.get('/one').pretty_print() # level_1
client.get('/two/three').pretty_print() # not found
I am encountering a problem with nested endpoints when the first part of the path is registered as an own resource, like in Case 2 below. I have a patch but have to prepare it for a PR if wished.
Case 1 (working):
Case 2 (not working):