Skip to content

Commit

Permalink
fix(fetch): typo (#1474)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev committed Jun 1, 2022
1 parent 87e586b commit f8ed1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fetch/index.js
Expand Up @@ -1164,7 +1164,7 @@ async function httpRedirectFetch (fetchParams, response) {
if (
([301, 302].includes(actualResponse.status) && request.method === 'POST') ||
(actualResponse.status === 303 &&
!['GET', 'HEADER'].includes(request.method))
!['GET', 'HEAD'].includes(request.method))
) {
// then:
// 1. Set request’s method to `GET` and request’s body to null.
Expand Down

0 comments on commit f8ed1d4

Please sign in to comment.