We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eed3c0 commit d409da2Copy full SHA for d409da2
packages/open-next/src/http/util.ts
@@ -12,7 +12,8 @@ export const parseHeaders = (
12
if (value === undefined) {
13
continue;
14
}
15
- // Next can sometimes return an Array for the Location header
+ // Next can return an Array for the Location header
16
+ // We dont want to merge that into a comma-separated string
17
// See: https://github.com/opennextjs/opennextjs-cloudflare/issues/875#issuecomment-3258248276
18
if (key.toLowerCase() === "location" && Array.isArray(value)) {
19
result[key.toLowerCase()] = value[0];
0 commit comments