mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
## 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`