MatrixSynapse/changelog.d
Tim Leung ddb240293a
Add support for no_proxy and case insensitive env variables (#9372)
### Changes proposed in this PR

- Add support for the `no_proxy` and `NO_PROXY` environment variables
  - Internally rely on urllib's [`proxy_bypass_environment`](bdb941be42/Lib/urllib/request.py (L2519))
- Extract env variables using urllib's `getproxies`/[`getproxies_environment`](bdb941be42/Lib/urllib/request.py (L2488)) which supports lowercase + uppercase, preferring lowercase, except for `HTTP_PROXY` in a CGI environment

This does contain behaviour changes for consumers so making sure these are called out:
- `no_proxy`/`NO_PROXY` is now respected
- lowercase `https_proxy` is now allowed and taken over `HTTPS_PROXY`

Related to #9306 which also uses `ProxyAgent`

Signed-off-by: Timothy Leung tim95@hotmail.co.uk
2021-02-26 17:37:57 +00:00
..
.gitignore
8957.feature
8978.feature
9203.feature
9285.bugfix Ensure pushers are deleted for deactivated accounts (#9285) 2021-02-25 13:56:55 +00:00
9358.misc
9372.feature Add support for no_proxy and case insensitive env variables (#9372) 2021-02-26 17:37:57 +00:00
9383.feature
9385.feature
9402.bugfix
9416.bugfix
9432.misc
9436.bugfix SSO: redirect to public URL before setting cookies (#9436) 2021-02-26 14:02:06 +00:00
9438.feature
9440.bugfix
9449.bugfix
9462.misc
9463.doc
9464.misc
9465.bugfix
9466.bugfix
9470.bugfix
9472.feature Call out the need for an X-Forwarded-Proto in the upgrade notes (#9501) 2021-02-26 13:24:54 +00:00
9479.bugfix
9496.misc Test that we require validated email for email pushers (#9496) 2021-02-25 15:35:14 +00:00
9501.feature Call out the need for an X-Forwarded-Proto in the upgrade notes (#9501) 2021-02-26 13:24:54 +00:00