forked from MirrorHub/synapse
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.
2 lines
96 B
Gherkin
2 lines
96 B
Gherkin
Add support for credentials for proxy authentication in the `HTTPS_PROXY` environment variable.
|