mirror of https://github.com/lukechilds/node.git
Browse Source
If the URL passed to `http.request` is not properly parsable by `url.parse`, we fall back to use `localhost` and port 80. This creates confusing error messages like in this question http://stackoverflow.com/q/32675907/1903116. PR-URL: https://github.com/nodejs/node/pull/2966 Reviewed-By: James M Snell <jasnell@gmail.com>v4.x
committed by
James M Snell
1 changed files with 7 additions and 2 deletions
Loading…
Reference in new issue