Skip to content
Snippets Groups Projects
Commit c991e7ae authored by Andrew Morgan's avatar Andrew Morgan
Browse files

Syntax checker is bork

parent c2d848b8
No related branches found
No related tags found
No related merge requests found
...@@ -190,12 +190,11 @@ class MatrixFederationHttpClient(object): ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment