Skip to content

Commit 6c5a3f6

Browse files
http: updated comment title as suggested.
Co-authored-by: Tobias Nießen <[email protected]>
1 parent 920a305 commit 6c5a3f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/http.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class ProxyConfig {
113113
this.href = proxyUrl; // Full URL of the proxy server.
114114
this.host = host; // Full host including port, e.g. 'localhost:8080'.
115115
// Trim off the brackets from IPv6 addresses. As it's parsed from a valid URL, an opening
116-
// "[" Must already have a matching "]" at the end.
116+
// "[" must already have a matching "]" at the end.
117117
this.hostname = hostname[0] === '[' ? hostname.slice(1, -1) : hostname;
118118
this.port = port ? NumberParseInt(port, 10) : (protocol === 'https:' ? 443 : 80);
119119
this.protocol = protocol; // Protocol of the proxy server, e.g. 'http:' or 'https:'.

0 commit comments

Comments
 (0)