diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-03-13 21:21:03 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-03-13 21:21:03 +0000 |
commit | ecea5af491cd69933afe1dbea665d85c84d1d94e (patch) | |
tree | a1c7b5b6c7214b18c557e852b531c004485e52e1 /synapse/http/matrixfederationclient.py | |
parent | receiving a 400 caused an exception. handle it (diff) | |
download | synapse-ecea5af491cd69933afe1dbea665d85c84d1d94e.tar.xz |
Correct var name
Diffstat (limited to 'synapse/http/matrixfederationclient.py')
-rw-r--r-- | synapse/http/matrixfederationclient.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py index 6b41639741..b27c4c1c38 100644 --- a/synapse/http/matrixfederationclient.py +++ b/synapse/http/matrixfederationclient.py @@ -238,10 +238,10 @@ class MatrixFederationHttpClient(object): # Enable backoff if initially disabled send_request_args["backoff_on_404"] = backoff_on_404 - send_request_args["path"] += "/" + # Add trailing slash + send_request_args["request"].path += "/" response = yield self._send_request(**send_request_args) - body = yield _handle_json_response( self.hs.get_reactor(), self.default_timeout, request, response, ) |