Compare commits

...

3 Commits

Author SHA1 Message Date
John Hiesey 8c07b21b82 2.5.0 2016-11-03 22:16:57 -07:00
John Hiesey 662b9626be Merge pull request #58 from XiaoningLiu/master
Add payload for Microsoft Azure Storage MERGE method
2016-11-03 22:15:19 -07:00
Xiaoning Liu abdc5573da Add payload for Microsoft Azure Storage MERGE method 2016-11-04 11:35:18 +08:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ ClientRequest.prototype._onFinish = function () {
var headersObj = self._headers
var body
if (opts.method === 'POST' || opts.method === 'PUT' || opts.method === 'PATCH') {
if (opts.method === 'POST' || opts.method === 'PUT' || opts.method === 'PATCH' || opts.method === 'MERGE') {
if (capability.blobConstructor) {
body = new global.Blob(self._body.map(function (buffer) {
return toArrayBuffer(buffer)
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "stream-http",
"version": "2.4.1",
"version": "2.5.0",
"description": "Streaming http in the browser",
"main": "index.js",
"repository": {