mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-15 17:51:10 +00:00
2efd050c9d
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.
1 line
138 B
Text
1 line
138 B
Text
Return an HTTP 404 instead of 400 when requesting a filter by ID that is unknown to the server. Thanks to @krombel for contributing this!
|