Skip to content

fetch option headers difference - array of pairs #1474

@LiamGoodacre

Description

@LiamGoodacre

firefox (133) fetch

fetch("/path", { headers: [["A", "B"], ["C", "D"] })

results in the following headers on the request:

A: B
C: D

whatwg-fetch polyfill (3.6.20)

fetchPolyfill("/path", { headers: [["A", "B"], ["C", "D"]] })

results in the following headers on the request:

0: A,B
1: C,D
a: B
c: D

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