Skip to content

read_headers should be case-insensitive on keys #53

@eyJhb

Description

@eyJhb

Make sure you are running the latest version of TinyWeb before reporting an issue.

Device and/or platform:

Description of problem:
read_headers is not case-insensitive on keys, as described in the standard.
This can lead to problems, if the client uses different cases for ie. content-length.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers

Expected:
Lowercase all the received headers.

Traceback (if applicable):

Additional info:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions