Skip to content

Commit c7cbef4

Browse files
committed
fix(fetch): opaqueredirect actualResponse
1 parent 6176912 commit c7cbef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fetch/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ async function httpFetch (fetchParams) {
807807
} else if (request.redirect === 'manual') {
808808
// Set response to an opaque-redirect filtered response whose internal
809809
// response is actualResponse.
810-
response = filterResponse(response, 'opaqueredirect')
810+
response = filterResponse(actualResponse, 'opaqueredirect')
811811
} else if (request.redirect === 'follow') {
812812
// Set response to the result of running HTTP-redirect fetch given
813813
// fetchParams and response.

0 commit comments

Comments
 (0)