Repository navigation
v2.1.2
2.1.2 (2026-05-04)
Bug Fixes
- 404 results in downloading a file. addSecurityHeaders reconstructs the response from response.body (a ReadableStream) — when the original new Response('Not Found', {status: 404}) goes through that, the Content-Type is lost and Bun/browsers see application/octet-stream, triggering a download (9356469)