forked from MirrorHub/synapse
go home python, you're drunk
This commit is contained in:
parent
c991e7aec7
commit
bec313818c
1 changed files with 2 additions and 4 deletions
|
@ -585,8 +585,7 @@ 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,
|
||||||
|
@ -705,8 +704,7 @@ 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, False, **send_request_args,
|
request, try_trailing_slash_on_400, False, **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 a new issue