mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-28 23:20:09 +03:00
5b268997bd
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. |
||
---|---|---|
.. | ||
federation | ||
__init__.py | ||
ca.crt | ||
ca.key | ||
server.key | ||
test_additional_resource.py | ||
test_client.py | ||
test_endpoint.py | ||
test_fedclient.py | ||
test_proxyagent.py | ||
test_servlet.py | ||
test_simple_client.py |