-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
questionIssues that look for answers.Issues that look for answers.urlIssues and PRs related to the legacy built-in url module.Issues and PRs related to the legacy built-in url module.
Description
When I try to parse a url using url.parse()
, the protocol has a colon at the end.
Example
The following command
url.parse("https://avatars3.githubusercontent.com/u/2100222")
returns
Url {
protocol: 'https:',
...
}
Shouldn't the protocol be http
instead of http:
? If not, what's the point of having it included?
Metadata
Metadata
Assignees
Labels
questionIssues that look for answers.Issues that look for answers.urlIssues and PRs related to the legacy built-in url module.Issues and PRs related to the legacy built-in url module.