@@ -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
@@ -183,7 +183,7 @@ describe("SSEClientTransport", () => {
183
183
if ( req . method === "GET" ) {
184
184
res . writeHead ( 200 , {
185
185
"Content-Type" : "text/event-stream" ,
186
- "Cache-Control" : "no-cache" ,
186
+ "Cache-Control" : "no-cache, no-transform " ,
187
187
Connection : "keep-alive" ,
188
188
} ) ;
189
189
res . write ( "event: endpoint\n" ) ;
@@ -397,7 +397,7 @@ describe("SSEClientTransport", () => {
397
397
398
398
res . writeHead ( 200 , {
399
399
"Content-Type" : "text/event-stream" ,
400
- "Cache-Control" : "no-cache" ,
400
+ "Cache-Control" : "no-cache, no-transform " ,
401
401
Connection : "keep-alive" ,
402
402
} ) ;
403
403
res . write ( "event: endpoint\n" ) ;
@@ -524,7 +524,7 @@ describe("SSEClientTransport", () => {
524
524
if ( auth === "Bearer new-token" ) {
525
525
res . writeHead ( 200 , {
526
526
"Content-Type" : "text/event-stream" ,
527
- "Cache-Control" : "no-cache" ,
527
+ "Cache-Control" : "no-cache, no-transform " ,
528
528
Connection : "keep-alive" ,
529
529
} ) ;
530
530
res . write ( "event: endpoint\n" ) ;
@@ -610,7 +610,7 @@ describe("SSEClientTransport", () => {
610
610
611
611
res . writeHead ( 200 , {
612
612
"Content-Type" : "text/event-stream" ,
613
- "Cache-Control" : "no-cache" ,
613
+ "Cache-Control" : "no-cache, no-transform " ,
614
614
Connection : "keep-alive" ,
615
615
} ) ;
616
616
res . write ( "event: endpoint\n" ) ;
0 commit comments