Skip to content

Commit

Permalink
fix: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
metcoder95 committed Aug 20, 2023
1 parent 4bbd684 commit d27be8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fetch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,7 @@ async function httpNetworkFetch (

// For H2, the headers are a plain JS object
// We distinguish between them and iterate accordingly
if (Array.isArray(headers)) {
if (Array.isArray(headersList)) {
for (let n = 0; n < headersList.length; n += 2) {
const key = headersList[n + 0].toString('latin1')
const val = headersList[n + 1].toString('latin1')
Expand Down

0 comments on commit d27be8a

Please sign in to comment.