fetch option headers difference - array of pairs
Author: LiamGoodacreCreated Dec 10, 2024Updated Dec 10, 2024
firefox (133) fetch
fetch("/path", { headers: [["A", "B"], ["C", "D"] })results in the following headers on the request:
A: B
C: Dwhatwg-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: DSource: JakeChampion/fetch