nits: remove dead comment & align test style on local idioms
This commit is contained in:
parent
a28e25a9c0
commit
e573a0f342
1 changed files with 1 additions and 3 deletions
|
|
@ -220,8 +220,6 @@ export class SSEClientTransport implements Transport {
|
|||
|
||||
try {
|
||||
const commonHeaders = await this._commonHeaders();
|
||||
// Note: this._requestInit?.headers already set in _commonHeaders
|
||||
// const headers = new Headers({ ...commonHeaders, ...this._requestInit?.headers });
|
||||
const headers = new Headers(commonHeaders);
|
||||
headers.set("content-type", "application/json");
|
||||
const init = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue