@@ -207,7 +207,7 @@ export class StreamableHTTPClientTransport implements Transport {
207
207
headers . set ( "last-event-id" , resumptionToken ) ;
208
208
}
209
209
210
- const response = await ( this . _fetch ?? fetch ) ( this . _url , {
210
+ const response = await ( this . _fetch ?? fetch ) ( this . _url , {
211
211
method : "GET" ,
212
212
headers,
213
213
signal : this . _abortController ?. signal ,
@@ -427,7 +427,7 @@ const response = await (this._fetch ?? fetch)(this._url, {
427
427
signal : this . _abortController ?. signal ,
428
428
} ;
429
429
430
- const response = await ( this . _fetch ?? fetch ) ( this . _url , init ) ;
430
+ const response = await ( this . _fetch ?? fetch ) ( this . _url , init ) ;
431
431
432
432
// Handle session ID received during initialization
433
433
const sessionId = response . headers . get ( "mcp-session-id" ) ;
@@ -533,7 +533,7 @@ const response = await (this._fetch ?? fetch)(this._url, init);
533
533
signal : this . _abortController ?. signal ,
534
534
} ;
535
535
536
- const response = await ( this . _fetch ?? fetch ) ( this . _url , init ) ;
536
+ const response = await ( this . _fetch ?? fetch ) ( this . _url , init ) ;
537
537
538
538
// We specifically handle 405 as a valid response according to the spec,
539
539
// meaning the server does not support explicit session termination
0 commit comments