@@ -24,7 +24,7 @@ describe("SSEClientTransport", () => {
24
24
// Send SSE headers
25
25
res . writeHead ( 200 , {
26
26
"Content-Type" : "text/event-stream" ,
27
- "Cache-Control" : "no-cache" ,
27
+ "Cache-Control" : "no-cache, no-transform " ,
28
28
Connection : "keep-alive" ,
29
29
} ) ;
30
30
@@ -185,7 +185,7 @@ describe("SSEClientTransport", () => {
185
185
if ( req . method === "GET" ) {
186
186
res . writeHead ( 200 , {
187
187
"Content-Type" : "text/event-stream" ,
188
- "Cache-Control" : "no-cache" ,
188
+ "Cache-Control" : "no-cache, no-transform " ,
189
189
Connection : "keep-alive" ,
190
190
} ) ;
191
191
res . write ( "event: endpoint\n" ) ;
@@ -399,7 +399,7 @@ describe("SSEClientTransport", () => {
399
399
400
400
res . writeHead ( 200 , {
401
401
"Content-Type" : "text/event-stream" ,
402
- "Cache-Control" : "no-cache" ,
402
+ "Cache-Control" : "no-cache, no-transform " ,
403
403
Connection : "keep-alive" ,
404
404
} ) ;
405
405
res . write ( "event: endpoint\n" ) ;
@@ -526,7 +526,7 @@ describe("SSEClientTransport", () => {
526
526
if ( auth === "Bearer new-token" ) {
527
527
res . writeHead ( 200 , {
528
528
"Content-Type" : "text/event-stream" ,
529
- "Cache-Control" : "no-cache" ,
529
+ "Cache-Control" : "no-cache, no-transform " ,
530
530
Connection : "keep-alive" ,
531
531
} ) ;
532
532
res . write ( "event: endpoint\n" ) ;
@@ -612,7 +612,7 @@ describe("SSEClientTransport", () => {
612
612
613
613
res . writeHead ( 200 , {
614
614
"Content-Type" : "text/event-stream" ,
615
- "Cache-Control" : "no-cache" ,
615
+ "Cache-Control" : "no-cache, no-transform " ,
616
616
Connection : "keep-alive" ,
617
617
} ) ;
618
618
res . write ( "event: endpoint\n" ) ;
0 commit comments