summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-01-29 13:58:22 +0000
committerErik Johnston <erik@matrix.org>2015-01-29 13:58:22 +0000
commit5a3a15f5c186af6b818f2b2d3a4dafeee48b4e33 (patch)
treebfeec294839c9182b275b96115d0f2b1e5661931 /synapse
parentAdd post_json(...) method to federation client (diff)
downloadsynapse-5a3a15f5c186af6b818f2b2d3a4dafeee48b4e33.tar.xz
Make post_json(...) actually send data.
Diffstat (limited to '')
-rw-r--r--synapse/http/matrixfederationclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index b1b2916fd3..c7bf1b47b8 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -265,7 +265,7 @@ class MatrixFederationHttpClient(object):
             self.sign_request(
                 destination, method, url_bytes, headers_dict, data
             )
-            return None
+            return _JsonProducer(data)
 
         response = yield self._create_request(
             destination.encode("ascii"),