synapse-product/synapse/http
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 factor out uri redaction into a method on http 2018-06-05 18:31:40 +01:00
additional_resource.py run isort 2018-07-09 16:09:20 +10:00
client.py Move v1-only APIs into their own module & isolate deprecated ones (#3460) 2018-07-19 20:03:33 +10:00
endpoint.py run isort 2018-07-09 16:09:20 +10:00
matrixfederationclient.py run isort 2018-07-09 16:09:20 +10:00
request_metrics.py pep8 2018-07-18 14:19:00 +01:00
server.py Be more careful which errors we send back over the C-S API 2018-08-01 16:02:38 +01:00
servlet.py Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
site.py Refactor REST API tests to use explicit reactors (#3351) 2018-07-17 20:43:18 +10:00