From: Ryan Dahl Date: Wed, 5 May 2010 04:35:46 +0000 (-0700) Subject: Fix whitespace X-Git-Tag: v0.1.94~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=453c9e6411527018c61245fb2151946b79365bac;p=platform%2Fupstream%2Fnodejs.git Fix whitespace --- diff --git a/lib/http.js b/lib/http.js index 3737b9c..a02a75f 100644 --- a/lib/http.js +++ b/lib/http.js @@ -663,7 +663,7 @@ function Client ( ) { self.addListener("connect", function () { if (this.https) { - this.setSecure(this.credentials); + this.setSecure(this.credentials); } else { parser.reinitialize('response'); debug('requests: ' + sys.inspect(requests)); @@ -780,7 +780,7 @@ exports.cat = function (url, encoding_, headers_) { } var url = require("url").parse(url); - + var hasHost = false; if (headers instanceof Array) { for (var i = 0, l = headers.length; i < l; i++) { @@ -802,7 +802,7 @@ exports.cat = function (url, encoding_, headers_) { if (!hasHost) headers["Host"] = url.hostname; var content = ""; - + var client = exports.createClient(url.port || 80, url.hostname); var req = client.request((url.pathname || "/")+(url.search || "")+(url.hash || ""), headers);