Skip to content

Commit 95f8986

Browse files
committed
Merge branch 'ihrpr/streamable-http-client' into ihrpr/fix-streamable-connection-close
2 parents 7c44071 + f1827ce commit 95f8986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/streamableHttp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class StreamableHTTPClientTransport implements Transport {
121121
signal: this._abortController?.signal,
122122
});
123123

124-
if (response.status === 405) {
124+
if (response.status === 405 || response.status === 404) {
125125
// Server doesn't support GET for SSE, which is allowed by the spec
126126
// We'll rely on SSE responses to POST requests for communication
127127
return;

0 commit comments

Comments
 (0)