[Pkg-javascript-commits] [node-stream-http] 152/208: 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 0cc4549d4e81c1440bf664a78ab080187674d28e
Author: ecoslado <kike at doofinder.com>
Date: Wed Oct 19 10:23:34 2016 +0200
Adding comments
---
lib/response.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/response.js b/lib/response.js
index b900e76..80fcf43 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