Skip to content

Access-Control-Request-Headers should not use a space when combining #207

Open

Description

@sebsebmc

The Fetch CORS spec specifically notes that the header list that is the value of ACRH does not use combine and only uses , (comma) to join the header names.

MDN's example value for this header also does not use spaces.

The WPT test https://github.com/web-platform-tests/wpt/blob/master/xhr/resources/access-control-preflight-request-header-sorted.py tests for this strictly.

Activity

  1. seanmonstar commented on Apr 10, 2025

    @seanmonstar
    Member

    Well that's unfortunate (as the spec even says).

  2. changed the title [-]Access-Control-Allow-Headers should not use a space when combining[/-] [+]Access-Control-Request-Headers should not use a space when combining[/+] on Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions