Giacomo Tanganelli
9c0469abcb
Merge branch 'master' into add-option-size2
2021-01-17 12:07:55 +01:00
Giacomo Tanganelli
92c0258241
Merge branch 'master' into fix-token
2021-01-17 12:01:13 +01:00
Hubert Miś
13039faf71
Add Size2 option handling according to RFC7959
...
Signed-off-by: Hubert Miś <hubert.mis@gmail.com>
2020-12-22 13:17:39 +01:00
Hubert Miś
297404ce33
Fix token handling
...
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>
2020-12-22 13:12:41 +01:00
Björn Freise
2eafa64308
Token stored as bytes and not limited to ascii chars anymore
2019-04-23 11:43:02 +02:00
Björn Freise
3c7b11c149
Clean up logger-calls - more semetrical through out the code
2019-04-23 11:41:14 +02:00
Björn Freise
28b465f54e
Added Size1 and Size2 options
2019-04-23 11:38:45 +02:00
giacomo.tanganelli@for.unipi.it
4db21cd7e7
Porting to Python3
2018-01-23 11:31:46 +01:00