Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 016f4be96f | |||
| 9e5e75b5ff | |||
| 031b8aab89 |
+1
-1
@@ -93,7 +93,7 @@ ClientRequest.prototype._onFinish = function () {
|
||||
|
||||
var headersObj = self._headers
|
||||
var body
|
||||
if (opts.method === 'POST' || opts.method === 'PUT') {
|
||||
if (opts.method === 'POST' || opts.method === 'PUT' || opts.method === 'PATCH') {
|
||||
if (capability.blobConstructor) {
|
||||
body = new global.Blob(self._body.map(function (buffer) {
|
||||
return buffer.toArrayBuffer()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "stream-http",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.1",
|
||||
"description": "Streaming http in the browser",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user