MatrixSynapse/synapse/rest/media/v1
Richard van der Hoff 318711e139 Set Server header in SynapseRequest
(instead of everywhere that writes a response. Or rather, the subset of places
which write responses where we haven't forgotten it).

This also means that we don't have to have the mysterious version_string
attribute in anything with a request handler.

Unfortunately it does mean that we have to pass the version string wherever we
instantiate a SynapseSite, which has been c&ped 150 times, but that is code
that ought to be cleaned up anyway really.
2018-05-10 18:50:27 +01:00
..
__init__.py
_base.py Fix logcontext leak in media repo 2018-05-02 16:14:50 +01:00
download_resource.py Set Server header in SynapseRequest 2018-05-10 18:50:27 +01:00
filepath.py
identicon_resource.py
media_repository.py
media_storage.py Fix logcontext leak in media repo 2018-05-02 16:14:50 +01:00
preview_url_resource.py Set Server header in SynapseRequest 2018-05-10 18:50:27 +01:00
storage_provider.py
thumbnail_resource.py Set Server header in SynapseRequest 2018-05-10 18:50:27 +01:00
thumbnailer.py
upload_resource.py Set Server header in SynapseRequest 2018-05-10 18:50:27 +01:00