mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Syntax checker is bork
This commit is contained in:
parent
c2d848b80d
commit
c991e7aec7
@ -190,12 +190,11 @@ class MatrixFederationHttpClient(object):
|
|||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _send_request_with_optional_trailing_slash(
|
def _send_request_with_optional_trailing_slash(
|
||||||
self,
|
self,
|
||||||
request,
|
request,
|
||||||
try_trailing_slash_on_400=False,
|
try_trailing_slash_on_400=False,
|
||||||
backoff_on_404=False,
|
backoff_on_404=False,
|
||||||
**kwargs,
|
**kwargs):
|
||||||
):
|
|
||||||
"""Wrapper for _send_request which can optionally retry the request
|
"""Wrapper for _send_request which can optionally retry the request
|
||||||
upon receiving a combination of a 400 HTTP response code and a
|
upon receiving a combination of a 400 HTTP response code and a
|
||||||
'M_UNRECOGNIZED' errcode. This is a workaround for Synapse <=v0.99.2
|
'M_UNRECOGNIZED' errcode. This is a workaround for Synapse <=v0.99.2
|
||||||
|
Loading…
Reference in New Issue
Block a user