diff options
author | Matthew Hodgson <matthew@matrix.org> | 2016-03-31 23:52:58 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2016-03-31 23:52:58 +0100 |
commit | 683e564815be5f7852c417cbab06876db6122401 (patch) | |
tree | f6823ec57e13446846e29b22463d8b2d012c866e /synapse/http/client.py | |
parent | prevent choking on invalid utf-8, and handle image thumbnailing smarter (diff) | |
download | synapse-683e564815be5f7852c417cbab06876db6122401.tar.xz |
handle spidered relative images correctly
Diffstat (limited to 'synapse/http/client.py')
-rw-r--r-- | synapse/http/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py index 219b734268..1b6f7cb795 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py @@ -282,7 +282,7 @@ class SimpleHttpClient(object): logger.exception("Failed to download body") raise - defer.returnValue((length, headers)) + defer.returnValue((length, headers, response.request.absoluteURI)) # XXX: FIXME: This is horribly copy-pasted from matrixfederationclient. |