summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2016-03-31 23:52:58 +0100
committerMatthew Hodgson <matthew@matrix.org>2016-03-31 23:52:58 +0100
commit683e564815be5f7852c417cbab06876db6122401 (patch)
treef6823ec57e13446846e29b22463d8b2d012c866e /synapse/http
parentprevent choking on invalid utf-8, and handle image thumbnailing smarter (diff)
downloadsynapse-683e564815be5f7852c417cbab06876db6122401.tar.xz
handle spidered relative images correctly
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/client.py2
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.