Skip to content

Commit

Permalink
Removed headers.Host assignment because node's new http.request(...) …
Browse files Browse the repository at this point in the history
…using Agent automatically does this for us.
  • Loading branch information
bnoguchi committed Jul 1, 2011
1 parent fc0c872 commit 713b467
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,6 @@ Browser.prototype.request = function(method, path, options, fn, saveHistory){
}

// Request
headers.Host = host;

var req = http.request({
method: method
, path: path
Expand Down

0 comments on commit 713b467

Please sign in to comment.