synapse-product/synapse/federation/transport
Andrew Morgan 7bef97dfb7
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.
2019-03-21 15:07:28 +00:00
..
__init__.py Remove redundated BaseHomeServer 2016-01-26 13:52:29 +00:00
client.py Remove trailing slashes from outbound federation requests and retry on 400 (#4840) 2019-03-21 15:07:28 +00:00
server.py Revert "Make federation endpoints more tolerant of trailing slashes for some endpoints (#4793)" 2019-03-14 14:30:54 +00:00