fix: 🐛 can't establish sse when server side enable compress

This commit is contained in:
ExlauChen 2025-03-28 14:50:59 +08:00
commit 6c15dcb65f

View file

@ -44,7 +44,7 @@ export class SSEServerTransport implements Transport {
this.res.writeHead(200, {
"Content-Type": "text/event-stream",
"Cache-Control": "no-cache",
"Cache-Control": "no-cache, no-transform",
Connection: "keep-alive",
});