-
- Downloads
send 404 as http-status when filter-id is unknown to the server (#2380)
This fixed the weirdness of 400 vs 404 as http status code in the case the filter id is not known by the server. As e.g. matrix-js-sdk expects 404 to catch this situation this leads to unwanted behaviour.
Showing
- changelog.d/2380.bugfix 1 addition, 0 deletionschangelog.d/2380.bugfix
- synapse/rest/client/v2_alpha/filter.py 7 additions, 5 deletionssynapse/rest/client/v2_alpha/filter.py
- synapse/rest/client/v2_alpha/sync.py 24 additions, 17 deletionssynapse/rest/client/v2_alpha/sync.py
- tests/rest/client/v2_alpha/test_filter.py 1 addition, 1 deletiontests/rest/client/v2_alpha/test_filter.py
Loading
Please register or sign in to comment