summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-03-13 21:21:03 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-03-13 21:21:03 +0000
commitecea5af491cd69933afe1dbea665d85c84d1d94e (patch)
treea1c7b5b6c7214b18c557e852b531c004485e52e1 /synapse/http
parentreceiving a 400 caused an exception. handle it (diff)
downloadsynapse-ecea5af491cd69933afe1dbea665d85c84d1d94e.tar.xz
Correct var name
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/matrixfederationclient.py4
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,
             )