Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aiohttp: Fix type of Sec-WebSocket-Key in aiohttp_ws.py #846

Merged
merged 1 commit into from
May 24, 2024

Commits on May 24, 2024

  1. aiohttp: Fix type of header's Sec-WebSocket-Key.

    The function `binascii.b2a_base64()` returns a `bytes`, but here needs a
    string.  Otherwise, the value of `Sec-WebSocket-Key` in the headers will be
    `b'<BASE64-ENCODED_RANDOM_VALUE>'`.
    
    Signed-off-by: AuroraTea <1352685369@qq.com>
    AuroraTea authored and dpgeorge committed May 24, 2024
    Configuration menu
    Copy the full SHA
    2b0d761 View commit details
    Browse the repository at this point in the history