Skip to content

Commit

Permalink
tabs -> spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
steelThread committed Jan 26, 2011
1 parent 90a0411 commit 0b47dc7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/couch-client.js
Expand Up @@ -53,7 +53,7 @@ function CouchClient(url) {
};
// add the authorization header if provided and using https
if (uri.auth && uri.secure) {
headers["Authorization"] = "Basic " + new Buffer(uri.auth, "ascii").toString("base64");
headers["Authorization"] = "Basic " + new Buffer(uri.auth, "ascii").toString("base64");
}

if (body) {
Expand All @@ -63,12 +63,12 @@ function CouchClient(url) {
}

var options = {
host: uri.hostname,
method: method,
path: path,
port: uri.port,
headers: headers
};
host: uri.hostname,
method: method,
path: path,
port: uri.port,
headers: headers
};
var request = uri.protocolHandler.request(options, function (response) {
response.setEncoding('utf8');
var body = "";
Expand Down

0 comments on commit 0b47dc7

Please sign in to comment.