We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c8b443 commit 8b9f5a4Copy full SHA for 8b9f5a4
lib/request.js
@@ -96,7 +96,7 @@ ClientRequest.prototype._onFinish = function () {
96
if (opts.method === 'POST' || opts.method === 'PUT' || opts.method === 'PATCH') {
97
if (capability.blobConstructor) {
98
body = new global.Blob(self._body.map(function (buffer) {
99
- return buffer.toArrayBuffer()
+ return buffer.buffer
100
}), {
101
type: (headersObj['content-type'] || {}).value || ''
102
})
0 commit comments