forked-synapse/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 copyrights 2016-01-07 04:26:29 +00:00
_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 Don't needlessly rename variable 2017-10-13 11:42:07 +01:00
identicon_resource.py copyrights 2016-01-07 04:26:29 +00:00
media_repository.py Use six.moves.urlparse 2018-04-15 21:22:43 +02:00
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 Improve exception handling for background processes 2018-04-27 11:07:40 +01:00
thumbnail_resource.py Set Server header in SynapseRequest 2018-05-10 18:50:27 +01:00
thumbnailer.py Fix up 2017-10-13 11:33:49 +01:00
upload_resource.py Set Server header in SynapseRequest 2018-05-10 18:50:27 +01:00