anonymousland-synapse/synapse/api
Richard van der Hoff fa7dc889f1 Be more careful which errors we send back over the C-S API
We really shouldn't be sending all CodeMessageExceptions back over the C-S API;
it will include things like 401s which we shouldn't proxy.

That means that we need to explicitly turn a few HttpResponseExceptions into
SynapseErrors in the federation layer.

The effect of the latter is that the matrix errcode will get passed through
correctly to calling clients, which might help with some of the random
M_UNKNOWN errors when trying to join rooms.
2018-08-01 16:02:38 +01:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
auth.py Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
constants.py Implementation of server_acls 2018-07-04 19:06:20 +01:00
errors.py Be more careful which errors we send back over the C-S API 2018-08-01 16:02:38 +01:00
filtering.py Deduplicate redundant lazy-loaded members (#3331) 2018-07-26 22:51:30 +01:00
ratelimiting.py Check whether to ratelimit sooner to avoid work 2016-10-19 10:45:24 +01:00
urls.py run isort 2018-07-09 16:09:20 +10:00