Syntax test

pull/4840/head
Andrew Morgan 2019-03-13 18:45:17 +00:00
parent 220607a618
commit 9dd0e34679
1 changed files with 5 additions and 6 deletions

View File

@ -194,8 +194,7 @@ class MatrixFederationHttpClient(object):
request,
try_trailing_slash_on_400=False,
backoff_on_404=False,
**kwargs,
):
**kwargs):
"""Wrapper for _send_request which can optionally retry the request
upon receiving a combination of a 400 HTTP response code and a
'M_UNRECOGNIZED' errcode. This is a workaround for Synapse <=v0.99.2