mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-21 15:00:57 +00:00
3c2e42e2be
- Trailing-slash redirects (307, preserving method and query string) on by default; disable with API(redirect_slashes=False) - API(max_request_size=...) returns 413 for oversized bodies — fast Content-Length check plus cumulative enforcement for chunked uploads - API(auto_etag=True) adds content-hash ETags to GET responses with full 304 handling; explicit resp.etag wins - resp.background(func, *args) defers work until after the response is sent (sync via threadpool, async on the loop, ordered) - resp.cache_control(...) helper for Cache-Control headers Fixed: a 413 raised while reading the body during request_model validation is no longer swallowed into a 422. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
236 B
236 B
Backlog
Future Ideas
- OpenAPI: document path parameters from docstring operations' types when present
- First-class API client generation from the OpenAPI schema
- Range request support (
Accept-Ranges/206) for file responses