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.
Token was encoded as utf-8 string. However, token is a byte string
that is not required to be utf-8 encodable. This patch changes
token type in the Message class to string of bytes instead of string
of characters.
Token was encoded as utf-8 string. However, token is a byte string that is not required to be utf-8 encodable. This patch changes token type in the Message class to string of bytes instead of string of characters.
Signed-off-by: Hubert Miś hubert.mis@gmail.com