Skip to content

Commit

Permalink
Fixing tests broken by #979
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdevel committed Oct 18, 2017
1 parent 24e4b30 commit 3c740db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ HttpClient.prototype.buildRequest = function(rurl, data, exheaders, exoptions) {
'Accept': 'text/html,application/xhtml+xml,application/xml,text/xml;q=0.9,*/*;q=0.8',
'Accept-Encoding': 'none',
'Accept-Charset': 'utf-8',
'Connection': !!exoptions.forever ? 'keep-alive' : 'close',
'Connection': exoptions && exoptions.forever ? 'keep-alive' : 'close',
'Host': host + (isNaN(port) ? '' : ':' + port)
};
var attr;
Expand Down

0 comments on commit 3c740db

Please sign in to comment.