synapse-product/synapse/rest/media
Richard van der Hoff 170ccc9de5 Fix routing loop when fetching remote media
When we proxy a media request to a remote server, add a query-param, which will
tell the remote server to 404 if it doesn't recognise the server_name.

This should fix a routing loop where the server keeps forwarding back to
itself.

Also improves the error handling on remote media fetches, so that we don't
always return a rather obscure 502.
2017-03-13 16:30:36 +00:00
..
v0 Remove the legacy v0 content upload API. 2016-06-21 11:47:39 +01:00
v1 Fix routing loop when fetching remote media 2017-03-13 16:30:36 +00:00
__init__.py Move rest APIs back under the rest directory 2015-01-22 16:10:07 +00:00