v8.2.2
A bugfix release.
Fixed
RateLimiter.limitnow propagates the handler's return value. Return-value-style handlers —return {...},return text, orreturn data, status[, headers]— now compose with the@limiter.limitdecorator. Previously the wrapper discarded the return value in both the sync and async branches, so any rate-limited handler that returned data instead of mutatingrespproduced an empty200response. Mutation-style handlers (resp.media = ...) were unaffected, which is why it went unnoticed. The over-limit path is unchanged: a request past the limit still gets a429withRetry-After, and the handler is not invoked.
PyPI: https://pypi.org/project/responder/8.2.2/
Full changelog: https://github.com/kennethreitz/responder/blob/main/CHANGELOG.md