diff --git a/src/node/BrowserFetcher.ts b/src/node/BrowserFetcher.ts index 01140df4c487b..d7a41f049366f 100644 --- a/src/node/BrowserFetcher.ts +++ b/src/node/BrowserFetcher.ts @@ -571,11 +571,15 @@ function httpRequest( method?: string; agent?: HttpsProxyAgent; rejectUnauthorized?: boolean; + headers?: http.OutgoingHttpHeaders | undefined; }; let options: Options = { ...urlParsed, method, + headers: { + Connection: 'keep-alive', + }, }; const proxyURL = getProxyForUrl(url);