Skip to content

Headers are case-sensitive #19

@danpalmer

Description

@danpalmer

In HTTP, headers are case in-sensitive, however Http.swift treats them as case-sensitive.

This means, for example, when sending a POST to an Http.swift server with a content-length header, no body is read because Http.swift looks for Content-Length. Many clients, including fetch, use lower-case header names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions