Skip to content

req.headers() does not contain the sec-websocket-key header. #1971

@GavBog

Description

@GavBog
  • [✔️] I have looked for existing issues (including closed) about this

Bug Report

Version

axum v0.6.17
axum-core v0.3.4

Platform

MacOS

Description

I got all the headers from the websocket request using req: Request<Body> and req.headers()... This code works great except I noticed that the sec-websocket-key header was missing. If there is another way to get this header please let me know! This is my first time using axum. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-axumC-bugCategory: This is a bug.E-easyCall for participation: Experience needed to fix: Easy / not much

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions