python/stream
Sergei Maertens 382707436f Refs. #151 -- detect binary payloads and send the correct opcode
On Python 2, strings are bytestrings either way. On Python 3, the
result of `chr(channel)` is `str`, while the data itself is
`bytes`. The channel prefix needs to be turned into a binary type,
and the websocket frame needs the correct opcode (binary vs. text).

See #151 for the bug report and related issues.
2019-08-14 11:29:03 +02:00
..
__init__.py Verify Boilerplate fix 2018-12-05 22:22:59 +05:30
stream.py Verify Boilerplate fix 2018-12-05 22:22:59 +05:30
ws_client_test.py Verify Boilerplate fix 2018-12-05 22:22:59 +05:30
ws_client.py Refs. #151 -- detect binary payloads and send the correct opcode 2019-08-14 11:29:03 +02:00