Make post_json(...) actually send data.

This commit is contained in:
Erik Johnston 2015-01-29 13:58:22 +00:00
parent c183cec8f6
commit 5a3a15f5c1
1 changed files with 1 additions and 1 deletions

View File

@ -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"),