Skip to content

Commit eb050f5

Browse files
committed
fix: del header
1 parent 681273b commit eb050f5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugin/controller/lib/impl/mcp/MCPControllerRegister.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ export class MCPControllerRegister implements ControllerRegister {
8484
ctx.respond = false;
8585
ctx.set({
8686
'content-type': 'text/event-stream',
87-
'cache-control': 'no-cache',
8887
'transfer-encoding': 'chunked',
8988
});
9089
if (MCPControllerRegister.hooks.length > 0) {
@@ -168,7 +167,6 @@ export class MCPControllerRegister implements ControllerRegister {
168167
ctx.respond = false;
169168
ctx.set({
170169
'content-type': 'text/event-stream',
171-
'cache-control': 'no-cache',
172170
'transfer-encoding': 'chunked',
173171
});
174172
const transport = self.streamTransports[sessionId];

0 commit comments

Comments
 (0)