Skip to content

Commit

Permalink
fix(fetch): remove unnecessary encode operation (#1773)
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Nov 25, 2022
1 parent 7ffc264 commit d16327c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/fetch/body.js
Expand Up @@ -130,7 +130,8 @@ function extractBody (object, keepalive = false) {

yield * value.stream()

yield enc.encode('\r\n')
// '\r\n' encoded
yield new Uint8Array([13, 10])
}
}

Expand Down

0 comments on commit d16327c

Please sign in to comment.