[Pkg-javascript-commits] [node-stream-http] 179/208: Revert unnecessary part of previous change
Bastien Roucariès
rouca at moszumanska.debian.org
Sun Aug 13 13:39:42 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 11d14fc642f4878e9dc8e2329a62e7a8d18895fe
Author: John Hiesey <john at hiesey.com>
Date: Tue Jan 17 20:23:25 2017 -0800
Revert unnecessary part of previous change
---
lib/request.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/request.js b/lib/request.js
index 07a33d0..8bec2b5 100644
--- a/lib/request.js
+++ b/lib/request.js
@@ -119,7 +119,7 @@ ClientRequest.prototype._onFinish = function () {
global.fetch(self._opts.url, {
method: self._opts.method,
- headers: new global.Headers(headers),
+ headers: headers,
body: body || undefined,
mode: 'cors',
credentials: opts.withCredentials ? 'include' : 'same-origin'
--
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