We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set-cookie
When appending a set-cookie header, the server returns two copies of the header. e.g.
export async function middleware(request, ev) { const next = NextResponse.next() next.headers.append('set-cookie', 'bar=chocochip') return next }
Leads to:
The following is parsed automatically by the Next.js repo e2e test report generator.
test: test/e2e/middleware-responses/test/index.test.ts reason: Appending set-cookie header in middleware leads to duplicate header
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When appending a
set-cookie
header, the server returns two copies of the header. e.g.Leads to:
Data
The following is parsed automatically by the Next.js repo e2e test report generator.
test: test/e2e/middleware-responses/test/index.test.ts
reason: Appending set-cookie header in middleware leads to duplicate header
The text was updated successfully, but these errors were encountered: