anonymousland-synapse/synapse/http
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
..
federation Fix additional type hints. (#9543) 2021-03-09 07:41:32 -05:00
__init__.py SSO: redirect to public URL before setting cookies (#9436) 2021-02-26 14:02:06 +00:00
additional_resource.py Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
client.py Fix remaining mypy issues due to Twisted upgrade. (#9608) 2021-03-15 11:14:39 -04:00
connectproxyclient.py Allow providing credentials to HTTPS_PROXY (#9657) 2021-03-22 17:20:47 +00:00
matrixfederationclient.py Retry 5xx errors in federation client (#9567) 2021-03-09 13:15:12 +00:00
proxyagent.py Allow providing credentials to HTTPS_PROXY (#9657) 2021-03-22 17:20:47 +00:00
request_metrics.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
server.py Fix additional type hints from Twisted upgrade. (#9518) 2021-03-03 15:47:38 -05:00
servlet.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
site.py Fix additional type hints from Twisted upgrade. (#9518) 2021-03-03 15:47:38 -05:00