Skip to content

define how header name case sensitivity works #8

@wanderview

Description

@wanderview

If you do the following:

headers.append("accept", "text/plain")
headers.append("Accept", "application/x-www-form-urlencoded")

I assume all of these should return an array of two items:

headers.getAll("accept");
headers.getAll("Accept");
headers.getAll("ACCEPT");

But if we have to serialize out, does it matter what form of the header case should be used?

I propose allowing the browser to select a single case for output serialization, iteration, etc. Preserving case seems relatively unimportant and would require memory/complexity.

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