Preserve RSC metadata in Proxy request with skipProxyUrlNormalize (#91213)
## Summary - preserve Flight/RSC headers on the Proxy request instance when URL normalization is skipped (`skipProxyUrlNormalize`) - preserve the `_rsc` query on the request URL in that same mode so custom proxy logic can access it - document this behavior in the Proxy API docs, including guidance for `NextResponse.rewrite()` vs custom `fetch` rewrites - add an e2e regression in `skip-trailing-slash-redirect` to verify middleware receives `_rsc` and all RSC headers on the request instance ## Testing - `NEXT_SKIP_ISOLATE=1 NEXT_TEST_MODE=dev pnpm testheadless test/e2e/skip-trailing-slash-redirect/index.test.ts`
Showing
Please
register
or
sign in
to comment