diff options
author | Erik Johnston <erik@matrix.org> | 2015-01-29 13:58:22 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-01-29 13:58:22 +0000 |
commit | 5a3a15f5c186af6b818f2b2d3a4dafeee48b4e33 (patch) | |
tree | bfeec294839c9182b275b96115d0f2b1e5661931 /synapse/http | |
parent | Add post_json(...) method to federation client (diff) | |
download | synapse-5a3a15f5c186af6b818f2b2d3a4dafeee48b4e33.tar.xz |
Make post_json(...) actually send data.
Diffstat (limited to 'synapse/http')
-rw-r--r-- | synapse/http/matrixfederationclient.py | 2 |
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"), |