JakeChampion / fetch

A window.fetch JavaScript polyfill.
MIT License
25.76k stars 2.84k forks source link

Refused to get unsafe header "set-cookie" #1365

Closed BoussonKarel closed 1 year ago

BoussonKarel commented 1 year ago

Hi, your fix for #928 introduced some issues in our code: image image

Set-Cookie is a forbidden response-header name: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie https://fetch.spec.whatwg.org/#forbidden-response-header-name