synapse-product/synapse/http
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
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
client.py Remove spurious newline 2016-12-12 18:41:30 +01:00
endpoint.py Merge branch 'release-v0.18.6' into develop 2016-12-29 17:33:46 +00:00
matrixfederationclient.py Fix routing loop when fetching remote media 2017-03-13 16:30:36 +00:00
server.py Set CORs headers on responses from the media repo 2016-11-02 11:29:25 +00:00
servlet.py Revert "Support registration & login with phone number" 2017-03-13 09:59:33 +00:00
site.py Move SynapseSite to its own file 2016-04-22 16:09:55 +01:00