Revert "fix(server): application/json header for notifictions" (#1388)

This commit is contained in:
Matt 2026-01-20 11:56:17 +01:00 • committed by GitHub
commit f66a55b5f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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