Files
responder/docs
kennethreitz 38c4eb4438 v6.1.0: production-grade Server-Sent Events
- resp.sse: JSON-encode dict/list data, comment frames ({"comment": ...}),
  bytes passthrough, opt-in heartbeat= keepalive (queue+task merge so the
  producer isn't cancelled mid-event), X-Accel-Buffering: no, and the
  @resp.sse(heartbeat=...) decorator form. Refactored to _sse_frame /
  _format_sse_event / _sse_with_heartbeat helpers.
- req.last_event_id exposes the Last-Event-ID header for stream resume.
- Docs + tests.

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

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 01:22:40 -04:00
..
2018-10-11 12:59:27 -04:00
2018-10-11 12:59:27 -04:00