Simon Willison: asgi-gzip 0.3 Fixes SSE Compatibility — Production Bug in Datasette Deployments
Simon Willison·low signal
Simon Willison released asgi-gzip 0.3 on April 9 after discovering that gzip middleware was breaking Server-Sent Events (SSE) in production Datasette instances. The fix ensures SSE streams pass through uncompressed. For builders deploying ASGI apps with streaming responses (common in LLM-powered tools), this is a concrete gotcha: gzip middleware can silently buffer SSE events, breaking real-time updates.