[Pkg-javascript-commits] [node-stream-http] 159/208: Add payload for Microsoft Azure Storage MERGE method
Bastien Roucariès
rouca at moszumanska.debian.org
Sun Aug 13 13:39:39 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-stream-http.
commit abdc5573dabbf901a6d5989002bb2ab4a5d33450
Author: Xiaoning Liu <t-xiaonl at microsoft.com>
Date: Fri Nov 4 11:35:18 2016 +0800
Add payload for Microsoft Azure Storage MERGE method
---
lib/request.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/request.js b/lib/request.js
index 5a43036..5967fb1 100644
--- a/lib/request.js
+++ b/lib/request.js
@@ -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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stream-http.git
More information about the Pkg-javascript-commits
mailing list