Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http: default Agent.getName to 'localhost'
Refactor out the if/else statement checking for option.host. Add whitespace to make concatenation chunks more readable and consistent with the https version of Agent.getName(). PR-URL: nodejs#2825 Reviewed-By: Julian Duque <julianduquej@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
- Loading branch information