Skip to content

Commit fb5a470

Browse files
authored
Tweak proxy description
1 parent c9a4338 commit fb5a470

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/System.Net.Http/HttpClient.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,13 +362,13 @@ The environment variables used for `DefaultProxy` initialization on Windows and
362362
363363
On systems where environment variables are case-sensitive, the variable names may be all lowercase or all uppercase. The lowercase names are checked first.
364364
365-
The proxy server may be a hostname or IP address, optionally followed by a colon and port number, or it may be an http, https, socks4, socks4a or socks5 URL, optionally including a username and password for proxy authentication. The URL must be start with `http`, `https`, `socks4`, `socks4a` or `socks5`, and cannot include any text after the hostname, IP, or port.
366-
The URL can optionally include a username and password for proxy authentication for the schemes `http`, `https` and `socks5`. For the schemes `socks4` and `socks4a` only an userid is supported.
365+
The proxy server may be a hostname or IP address, optionally followed by a colon and port number, or it may be an `http`, `https`, `socks4`, `socks4a`, or `socks5` URL. The URL cannot include any text after the hostname, IP, or port. If a scheme isn't specified, `http` is assumed.
366+
The URL may optionally include a username and password for proxy authentication, but the password is ignored when using `socks4` or `socks4a` as the protocols have no support for password authentication.
367367
368368
* **`http`**: `http://[username:password@]hostname[:port]`
369369
* **`https`**: `https://[username:password@]hostname[:port]`
370-
* **`socks4`**: `socks4://[userid@]hostname[:port]`
371-
* **`socks4a`**: `socks4a://[userid@]hostname[:port]`
370+
* **`socks4`**: `socks4://[username@]hostname[:port]`
371+
* **`socks4a`**: `socks4a://[username@]hostname[:port]`
372372
* **`socks5`**: `socks5://[username:password@]hostname[:port]`
373373
374374
]]></format>

0 commit comments

Comments
 (0)