Merge pull request #231 from Exlau/exlau/sse-cache-control-header-fix
fix: 🐛 can't establish sse when server side enable compress
This commit is contained in:
commit
0c437a81be
1 changed files with 6 additions and 6 deletions
|
|
@ -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",
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue