Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd-Eden committed Aug 10, 2011
1 parent 4708480 commit a8c61b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ HTTPClient.prototype.request = function (path, opts, fn) {
opts.headers.Host = 'localhost';
opts.headers.Connection = 'keep-alive';


var req = http.request(opts, function (res) {
if (false === opts.buffer)
return fn && fn(res);
Expand Down Expand Up @@ -106,6 +105,7 @@ HTTPClient.prototype.end = function () {
HTTPClient.prototype.get = function (path, opts, fn) {
if ('function' == typeof opts) {
fn = opts;
opts = {}
}

opts = opts || {};
Expand Down

0 comments on commit a8c61b0

Please sign in to comment.