as above
This commit is contained in:
parent
7c0295f13c
commit
5ca857ad84
|
@ -586,7 +586,8 @@ class MatrixFederationHttpClient(object):
|
||||||
}
|
}
|
||||||
|
|
||||||
response = yield self._send_request_with_optional_trailing_slash(
|
response = yield self._send_request_with_optional_trailing_slash(
|
||||||
request, try_trailing_slash_on_400, backoff_on_404, send_request_args)
|
request, try_trailing_slash_on_400, backoff_on_404, send_request_args,
|
||||||
|
)
|
||||||
|
|
||||||
body = yield _handle_json_response(
|
body = yield _handle_json_response(
|
||||||
self.hs.get_reactor(), self.default_timeout, request, response,
|
self.hs.get_reactor(), self.default_timeout, request, response,
|
||||||
|
@ -706,7 +707,8 @@ class MatrixFederationHttpClient(object):
|
||||||
}
|
}
|
||||||
|
|
||||||
response = yield self._send_request_with_optional_trailing_slash(
|
response = yield self._send_request_with_optional_trailing_slash(
|
||||||
request, try_trailing_slash_on_400, **send_request_args)
|
request, try_trailing_slash_on_400, send_request_args,
|
||||||
|
)
|
||||||
|
|
||||||
body = yield _handle_json_response(
|
body = yield _handle_json_response(
|
||||||
self.hs.get_reactor(), self.default_timeout, request, response,
|
self.hs.get_reactor(), self.default_timeout, request, response,
|
||||||
|
|
Loading…
Reference in New Issue