You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/transports/http/server.ts
+25-6Lines changed: 25 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -349,14 +349,32 @@ export class HttpStreamTransport extends AbstractTransport {
349
349
logger.debug(`Handling GET request to ${this._config.endpoint}`);
350
350
constacceptHeader=req.headers.accept||'';
351
351
if(!acceptHeader.includes(SSE_CONTENT_TYPE)&&!acceptHeader.includes('*/*'))throwthis.httpError(406,`Not Acceptable: GET requires Accept header including ${SSE_CONTENT_TYPE}`);
0 commit comments