Aktueller Stand
This commit is contained in:
6
backend/node_modules/light-my-request/lib/form-data.js
generated
vendored
6
backend/node_modules/light-my-request/lib/form-data.js
generated
vendored
@@ -53,15 +53,13 @@ function formDataToStream (formdata) {
|
||||
// header
|
||||
yield textEncoder.encode(header)
|
||||
// body
|
||||
/* istanbul ignore else */
|
||||
if (value.stream) {
|
||||
yield * value.stream()
|
||||
} else {
|
||||
} /* c8 ignore start */ else {
|
||||
// shouldn't be here since Blob / File should provide .stream
|
||||
// and FormData always convert to USVString
|
||||
/* istanbul ignore next */
|
||||
yield value
|
||||
}
|
||||
} /* c8 ignore stop */
|
||||
yield linebreak
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user