Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: mention the behaviour if URL is invalid
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: #2966 Reviewed-By: James M Snell <jasnell@gmail.com>
- Loading branch information