handle not implemented get
This commit is contained in:
parent
c3b446d424
commit
f1827ced10
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue