File tree Expand file tree Collapse file tree
packages/server/src/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -450,6 +450,7 @@ export class WebStandardStreamableHTTPServerTransport implements Transport {
450450 const headers : Record < string , string > = {
451451 'Content-Type' : 'text/event-stream' ,
452452 'Cache-Control' : 'no-cache, no-transform' ,
453+ 'Transfer-Encoding' : 'chunked' ,
453454 Connection : 'keep-alive'
454455 } ;
455456
@@ -503,6 +504,7 @@ export class WebStandardStreamableHTTPServerTransport implements Transport {
503504 const headers : Record < string , string > = {
504505 'Content-Type' : 'text/event-stream' ,
505506 'Cache-Control' : 'no-cache, no-transform' ,
507+ 'Transfer-Encoding' : 'chunked' ,
506508 Connection : 'keep-alive'
507509 } ;
508510
@@ -751,6 +753,7 @@ export class WebStandardStreamableHTTPServerTransport implements Transport {
751753 const headers : Record < string , string > = {
752754 'Content-Type' : 'text/event-stream' ,
753755 'Cache-Control' : 'no-cache' ,
756+ 'Transfer-Encoding' : 'chunked' ,
754757 Connection : 'keep-alive'
755758 } ;
756759
You can’t perform that action at this time.
0 commit comments