Files
responder/tests
kennethreitz fde93a7658 v6.4.0: typed path parameters, sharper path-param OpenAPI, If-Range
- Typed path params on plain segments: /users/{id} with id: int (or UUID, …)
  now validates/coerces the path value and 422s on bad input (works for HTTP
  views, CBV methods, and WebSocket handlers).
- Path-param OpenAPI reflects a bare handler annotation, Path(...) alias/
  constraints/description, and the {id:uuid} convertor (string/format: uuid).
  Parameters are emitted per-operation (incl. per-CBV-method).
- If-Range support in resp.file()/stream_file()/download(): a stale resumable
  request falls back to the full body instead of a wrong partial.
- Type-only fixes for the new code: _if_range_matches None-guard; parameters
  annotation in the path-adapter builder.

Backwards-compatible. 580 tests pass; ruff + mypy clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 02:08:50 -04:00
..
2018-10-13 13:59:46 +01:00
2026-06-28 10:37:14 -04:00
2026-03-25 19:48:54 -04:00