Skip to content
This repository has been archived by the owner on Mar 13, 2022. It is now read-only.

Refs. #151 -- detect binary payloads and send the correct opcode #152

Merged
merged 1 commit into from
Feb 14, 2020
Merged

Refs. #151 -- detect binary payloads and send the correct opcode #152

merged 1 commit into from
Feb 14, 2020

Commits on Aug 14, 2019

  1. 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.
    sergei-maertens committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    3827074 View commit details
    Browse the repository at this point in the history