- From: Alice Parklad <notifications@github.com>
- Date: Wed, 21 Aug 2019 09:43:21 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 21 August 2019 16:43:43 UTC
Okay, so what I think we should here is: 1. Define "request-body-header name" in https://fetch.spec.whatwg.org/#terminology-headers and make it the list of headers given by @mnot above. 2. Then in https://fetch.spec.whatwg.org/#concept-http-redirect-fetch change the "If either actualResponse’s status is 301 or 302 and request’s method is `POST`, or actualResponse’s status is 303" step to make the actions ("set request’s method to `GET` and request’s body to null") take place as two steps in a nested list and add a step that removes headers from the header list that match the earlier introduced definition. I'm happy to help out with the tests. _Originally posted by @annevk in https://github.com/whatwg/fetch/issues/609#issuecomment-367275272_ -- 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/issues/923
Received on Wednesday, 21 August 2019 16:43:43 UTC