docs: note url()/aiohttp() percent-encode proxy credentials
Signed-off-by: disqualifier <dev@disqualifier.me>
This commit is contained in:
parent
72c5342a6b
commit
a5e36544d4
@ -35,6 +35,8 @@ p.key() # "1.2.3.4:8080:user:pass" (canonical identity; "host:port" if a
|
|||||||
Auth-less (IP-authenticated) proxies are first-class: `"host:port"` parses and
|
Auth-less (IP-authenticated) proxies are first-class: `"host:port"` parses and
|
||||||
every render shape omits the credentials. The 4-part form splits on the first three
|
every render shape omits the credentials. The 4-part form splits on the first three
|
||||||
colons, so a password may itself contain colons (`host:port:user:pa:ss:word`).
|
colons, so a password may itself contain colons (`host:port:user:pa:ss:word`).
|
||||||
|
`url()` / `aiohttp()` percent-encode the credentials, so reserved characters
|
||||||
|
(`/ # ? @`) in a user or password still produce a valid URL.
|
||||||
|
|
||||||
## Sources
|
## Sources
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user