diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-03-21 15:07:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-21 15:07:28 +0000 |
commit | 7bef97dfb730eeacf4835fbdd9c5e360984fbb1e (patch) | |
tree | 39b1d7b9885c1e55c761bc74fb90e285330316f2 /tests/utils.py | |
parent | Merge pull request #4908 from matrix-org/erikj/block_peek_on_blocked_rooms (diff) | |
parent | Clean up backoff_on_404 and metehod calls (diff) | |
download | synapse-7bef97dfb730eeacf4835fbdd9c5e360984fbb1e.tar.xz |
Remove trailing slashes from outbound federation requests and retry on 400 (#4840)
As per #3622, we remove trailing slashes from outbound federation requests. However, to ensure that we remain backwards compatible with previous versions of Synapse, if we receive a HTTP 400 with `M_UNRECOGNIZED`, then we are likely talking to an older version of Synapse in which case we retry with a trailing slash appended to the request path.
Diffstat (limited to 'tests/utils.py')
0 files changed, 0 insertions, 0 deletions