synapse-product/synapse
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
..
_scripts
api Merge branch 'develop' into babolivier/msc3026 2021-03-19 16:12:40 +01:00
app
appservice
config
crypto
events
federation Make federation catchup send last event from any server. (#9640) 2021-03-18 15:52:26 +00:00
groups
handlers Incorporate review 2021-03-19 18:19:50 +01:00
http Allow providing credentials to HTTPS_PROXY (#9657) 2021-03-22 17:20:47 +00:00
logging
metrics
module_api
push
replication
res/templates
rest
server_notices
spam_checker_api
state
static
storage Consistently check whether a password may be set for a user. (#9636) 2021-03-18 12:54:08 -04:00
streams
util
__init__.py
event_auth.py
notifier.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
python_dependencies.py
secrets.py
server.py
types.py
visibility.py