Andrew Morgan 5b268997bd
Allow providing credentials to HTTPS_PROXY (#9657)
Addresses https://github.com/matrix-org/synapse-dinsic/issues/70

This PR causes `ProxyAgent` to attempt to extract credentials from an `HTTPS_PROXY` env var. If credentials are found, a `Proxy-Authorization` header ([details](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization)) is sent to the proxy server to authenticate against it. The headers are *not* passed to the remote server.

Also added some type hints.
2021-03-22 17:20:47 +00:00
..
2021-03-19 16:11:08 +01:00
2021-03-19 18:19:50 +01:00
2021-03-19 18:19:50 +01:00
2021-03-22 13:15:55 +00:00
2020-09-04 06:54:56 -04:00
2021-03-18 18:24:16 +00:00
2021-03-10 18:15:56 +00:00