mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
This simplifies the code, as it allows using the mechanism of converting JsonableErrors into a response instead of having separate, but ultimately similar, logic in RateLimitMiddleware. We don't touch tests here because "rate limited" error responses are already verified in test_external.py.
23 KiB
23 KiB