synapse-product/synapse/rest/media/v1
Richard van der Hoff 1cb84c6486
Support for routing outbound HTTP requests via a proxy (#6239)
The `http_proxy` and `HTTPS_PROXY` env vars can be set to a `host[:port]` value which should point to a proxy.

The address of the proxy should be excluded from IP blacklists such as the `url_preview_ip_range_blacklist`.

The proxy will then be used for
 * push
 * url previews
 * phone-home stats
 * recaptcha validation
 * CAS auth validation

It will *not* be used for:
 * Application Services
 * Identity servers
 * Outbound federation
 * In worker configurations, connections from workers to masters

Fixes #4198.
2019-11-01 14:07:44 +00:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py Log responder we are using. (#6139) 2019-10-07 15:41:25 +01:00
config_resource.py Make the http server handle coroutine-making REST servlets (#5475) 2019-06-29 17:06:55 +10:00
download_resource.py Make the http server handle coroutine-making REST servlets (#5475) 2019-06-29 17:06:55 +10:00
filepath.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
media_repository.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
media_storage.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
preview_url_resource.py Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
storage_provider.py fix typo: backgroud -> background 2019-07-12 15:29:40 +01:00
thumbnail_resource.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
thumbnailer.py media/thumbnailer: Better quality for 1-bit / 8-bit color palette images (#2142) 2019-10-04 09:34:52 +01:00
upload_resource.py add M_TOO_LARGE error code for uploading a too large file (#6151) 2019-10-08 13:55:16 +01:00