Revert "fix(server): application/json header for notifictions" (#1388)
This commit is contained in:
parent
40f6ba7a19
commit
f66a55b5f4
1 changed files with 2 additions and 8 deletions
|
|
@ -667,12 +667,7 @@ export class WebStandardStreamableHTTPServerTransport implements Transport {
|
|||
for (const message of messages) {
|
||||
this.onmessage?.(message, { authInfo: options?.authInfo, requestInfo });
|
||||
}
|
||||
return new Response(null, {
|
||||
status: 202,
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
});
|
||||
return new Response(null, { status: 202 });
|
||||
}
|
||||
|
||||
// The default behavior is to use SSE streaming
|
||||
|
|
|
|||
Loading…
Reference in a new issue