Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Okay, so what I think we should here is: #923

Closed
aliceap opened this issue Aug 21, 2019 · 0 comments
Closed

Okay, so what I think we should here is: #923

aliceap opened this issue Aug 21, 2019 · 0 comments

Comments

@aliceap
Copy link

aliceap commented Aug 21, 2019

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 #609 (comment)

@aliceap aliceap closed this as completed Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant