Merge branch 'ihrpr/streamable-http-client' into ihrpr/fix-streamable-connection-close

This commit is contained in:
ihrpr 2025-04-08 15:05:08 +01:00
commit 95f8986242
No known key found for this signature in database

View file

@ -121,7 +121,7 @@ export class StreamableHTTPClientTransport implements Transport {
signal: this._abortController?.signal,
});
if (response.status === 405) {
if (response.status === 405 || response.status === 404) {
// Server doesn't support GET for SSE, which is allowed by the spec
// We'll rely on SSE responses to POST requests for communication
return;