@@ -24,7 +24,7 @@ describe("SSEClientTransport", () => {
2424 // Send SSE headers
2525 res . writeHead ( 200 , {
2626 "Content-Type" : "text/event-stream" ,
27- "Cache-Control" : "no-cache" ,
27+ "Cache-Control" : "no-cache, no-transform " ,
2828 Connection : "keep-alive" ,
2929 } ) ;
3030
@@ -183,7 +183,7 @@ describe("SSEClientTransport", () => {
183183 if ( req . method === "GET" ) {
184184 res . writeHead ( 200 , {
185185 "Content-Type" : "text/event-stream" ,
186- "Cache-Control" : "no-cache" ,
186+ "Cache-Control" : "no-cache, no-transform " ,
187187 Connection : "keep-alive" ,
188188 } ) ;
189189 res . write ( "event: endpoint\n" ) ;
@@ -397,7 +397,7 @@ describe("SSEClientTransport", () => {
397397
398398 res . writeHead ( 200 , {
399399 "Content-Type" : "text/event-stream" ,
400- "Cache-Control" : "no-cache" ,
400+ "Cache-Control" : "no-cache, no-transform " ,
401401 Connection : "keep-alive" ,
402402 } ) ;
403403 res . write ( "event: endpoint\n" ) ;
@@ -524,7 +524,7 @@ describe("SSEClientTransport", () => {
524524 if ( auth === "Bearer new-token" ) {
525525 res . writeHead ( 200 , {
526526 "Content-Type" : "text/event-stream" ,
527- "Cache-Control" : "no-cache" ,
527+ "Cache-Control" : "no-cache, no-transform " ,
528528 Connection : "keep-alive" ,
529529 } ) ;
530530 res . write ( "event: endpoint\n" ) ;
@@ -610,7 +610,7 @@ describe("SSEClientTransport", () => {
610610
611611 res . writeHead ( 200 , {
612612 "Content-Type" : "text/event-stream" ,
613- "Cache-Control" : "no-cache" ,
613+ "Cache-Control" : "no-cache, no-transform " ,
614614 Connection : "keep-alive" ,
615615 } ) ;
616616 res . write ( "event: endpoint\n" ) ;
0 commit comments