Commit b422f6ee authored by Sakthipriyan Vairamani's avatar Sakthipriyan Vairamani Committed by James M Snell
Browse files

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: https://github.com/nodejs/node/pull/2966


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent a6469e90
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment