From 9e83ff93bdaad011a078e3fe0fd4ba1a18732263 Mon Sep 17 00:00:00 2001 From: David Ortner Date: Mon, 18 Mar 2024 15:01:42 +0100 Subject: [PATCH] chore: [#1315] Fixes problem with synd fetch headers --- .../happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts b/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts index d9e328179..e1ff19c63 100644 --- a/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts +++ b/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts @@ -130,7 +130,7 @@ export default class FetchRequestHeaderUtility { const httpRequestHeaders = {}; for (const header of Object.values(headers[PropertySymbol.entries])) { - httpRequestHeaders[header.name] = header.value; + httpRequestHeaders[header.name] = header.value.join(', '); } return httpRequestHeaders;