[Pkg-javascript-commits] [node-stream-http] 153/208: Revert "Adding comments"
Bastien Roucariès
rouca at moszumanska.debian.org
Sun Aug 13 13:39:38 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 5cf032968307b77a7f02a9cb67ebf69045e0ed10
Author: ecoslado <kike at doofinder.com>
Date: Mon Oct 24 17:12:14 2016 +0200
Revert "Adding comments"
This reverts commit 0cc4549d4e81c1440bf664a78ab080187674d28e.
---
lib/response.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/response.js b/lib/response.js
index 80fcf43..b900e76 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -34,12 +34,12 @@ var IncomingMessage = exports.IncomingMessage = function (xhr, response, mode) {
self.url = response.url
self.statusCode = response.status
self.statusMessage = response.statusText
- // ecoslado stuff
+
response.headers.forEach(function(header, key){
self.headers[key.toLowerCase()] = header
self.rawHeaders.push(key, header)
})
- // end ecoslado stuff
+
// TODO: this doesn't respect backpressure. Once WritableStream is available, this can be fixed
var reader = response.body.getReader()
--
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