@@ -90,7 +90,7 @@ function extractBody (object, keepalive = false) {
90
90
// URLSearchParams
91
91
92
92
// spec says to run application/x-www-form-urlencoded on body.list
93
- // this is implemented in Node.js as part of an URLSearchParams instance toString method
93
+ // this is implemented in Node.js as apart of an URLSearchParams instance toString method
94
94
// See: https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L490
95
95
// and https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L1100
96
96
@@ -120,7 +120,7 @@ function extractBody (object, keepalive = false) {
120
120
121
121
// Set action to this step: run the multipart/form-data
122
122
// encoding algorithm, with object’s entry list and UTF-8.
123
- // - This ensures that the body is immutable and can't be changed afterwards
123
+ // - This ensures that the body is immutable and can't be changed afterwords
124
124
// - That the content-length is calculated in advance.
125
125
// - And that all parts are pre-encoded and ready to be sent.
126
126
@@ -215,7 +215,7 @@ function extractBody (object, keepalive = false) {
215
215
length = Buffer . byteLength ( source )
216
216
}
217
217
218
- // 12. If action is non-null, then run these steps in parallel:
218
+ // 12. If action is non-null, then run these steps in in parallel:
219
219
if ( action != null ) {
220
220
// Run action.
221
221
let iterator
@@ -262,7 +262,7 @@ function extractBody (object, keepalive = false) {
262
262
// https://fetch.spec.whatwg.org/#bodyinit-safely-extract
263
263
function safelyExtractBody ( object , keepalive = false ) {
264
264
// To safely extract a body and a `Content-Type` value from
265
- // a byte sequence or BodyInit object, run these steps:
265
+ // a byte sequence or BodyInit object object , run these steps:
266
266
267
267
// 1. If object is a ReadableStream object, then:
268
268
if ( object instanceof ReadableStream ) {
@@ -278,7 +278,7 @@ function safelyExtractBody (object, keepalive = false) {
278
278
}
279
279
280
280
function cloneBody ( instance , body ) {
281
- // To clone a body, run these steps:
281
+ // To clone a body body , run these steps:
282
282
283
283
// https://fetch.spec.whatwg.org/#concept-body-clone
284
284
0 commit comments