Re: [whatwg/fetch] strip request-body-header for redireting from POST to GET (#977)

annevk commented on this pull request.



>   <li>`<code>Content-Type</code>`
- <li>`<code>ETag</code>`
+ <li>`<code>Content-Length</code>`

`Content-Length` is a forbidden header name so doesn't need to be listed. It's always computed just before the request, so nulling body does effectively cause it to be omitted.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/977#pullrequestreview-327372126

Received on Thursday, 5 December 2019 08:23:46 UTC