Include requestInit options in GET SSE stream request (#1592)
Co-authored-by: De Wildt van Reenen <dewildt@labs.epiuse.com> Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com> Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
This commit is contained in:
parent
4a7cdf4f2b
commit
ad4b2f9cac
1 changed files with 29 additions and 0 deletions
|
|
@ -222,6 +222,7 @@ export class StreamableHTTPClientTransport implements Transport {
|
|||
}
|
||||
|
||||
const response = await (this._fetch ?? fetch)(this._url, {
|
||||
...this._requestInit,
|
||||
method: 'GET',
|
||||
headers,
|
||||
signal: this._abortController?.signal
|
||||
|
|
|
|||
Loading…
Reference in a new issue