Files
node/test/parallel
James M Snell 85a4e25775 http: add type checking for hostname
Add type checking for options.hostname / options.host
Maintains the use of `undefined` and `null` for default `localhost`,
but other falsy values (like `false`, `0` and `NaN`) are rejected.

PR-URL: https://github.com/nodejs/node/pull/12494
Ref: https://github.com/nodejs/node/issues/12488
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
2017-04-24 10:49:12 -07:00
..
2017-04-12 14:25:33 -07:00
2017-04-12 14:25:33 -07:00
2017-01-22 11:10:44 +01:00
2017-03-25 00:58:11 +09:00