asgi-gzip 0.3 Fixes SSE Compression Bug in ASGI Middleware
Published 2026-04-09Ingested 2026-04-10AI Engineering PracticesLow⭐ Timeline Candidate
Summary
Simon Willison released version 0.3 of asgi-gzip, a gzip middleware library for ASGI applications extracted from Starlette. The update addresses a bug where the middleware was incorrectly compressing Server-Sent Events (SSE) text/event-stream responses, which caused issues when deploying a new SSE feature to a production Datasette instance using the datasette-gzip plugin. While this is a routine open-source library maintenance release, it touches on SSE — a transport mechanism increasingly used
Alignment: Neutral
asgigzipsseserver-sent-eventspythonstarlettedatasettemiddlewareopen-sourcesimon-willison