Commit graph

13 commits

Author SHA1 Message Date
Giacomo Tanganelli
92c0258241
Merge branch 'master' into fix-token 2021-01-17 12:01:13 +01:00
Giacomo Tanganelli
7816d86972
Merge pull request #10 from michieldwitte/master
Added purging transactions as client, don't add transaction when no_response is True
2021-01-17 11:59:24 +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
5bebe167a9 Cleanup
- removed obsolete imports
- Location-Path and Location-Query only in answers with "Created" Status
- Fixed / for root-resource as RemoteResource for reverse-proxy
- Fixed parsing of long options in serializer.py
- Commented out unit tests reactivated
- Removed default logging
2019-04-23 11:44:04 +02: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
36fb9f243a Respect binary coded payload data 2019-04-23 11:42:01 +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
5da871355a Clean up printf((...) and some imports 2019-04-23 11:37:18 +02:00
Michiel De Witte
4e1c7d2bba catch UnicodeDecodeError 2019-02-20 09:53:58 +01:00
office-gateway
f81f415da8 Let the outbound payload be binary 2018-03-05 16:41:11 +01:00
giacomo.tanganelli@for.unipi.it
418143f9df Fix message.payload_type 2018-01-29 14:56:12 +01:00
Michiel De Witte
a9ce746b21 If the payload type is an octet-stream don't parse it as utf-8 2018-01-29 10:05:28 +01:00
giacomo.tanganelli@for.unipi.it
4db21cd7e7 Porting to Python3 2018-01-23 11:31:46 +01:00