Skip to content

test(e2e): stop requiring Content-Length on streamed Route Handler downloads - #9824

Merged
waleedlatif1 merged 1 commit into
stagingfrom
fix/e2e-route-content-length
Nov 9, 2026
Merged

waleedlatif1 merged 1 commit into
stagingfrom
fix/e2e-route-content-length

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

Client impact

None functional. Every client that reads Content-Length (text preview, CLI updater and OAuth reader, desktop updater) uses it only as an early size rejection and still enforces its cap while streaming. Browsers lose the progress estimate on large downloads, which is the upstream trade-off.

Verification

…wnloads

Next.js 16.4.5 strips Content-Length and Content-Encoding from every
Route Handler response (GHSA-pc58-hwjq-p385); upstream kept that in
16.4.6 and closed the scoped alternative, so a large download now
arrives chunked without a declared length. The history suite still
proves incremental delivery, the full byte count and the content hash,
and checks a declared length whenever one is present.
@vercel

vercel Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Nov 9, 2026 11:28pm UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@greptile-apps

greptile-apps Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge.

Summary

Updates the large-download test to accept responses without Content-Length.

  • Large downloads no longer need a size header to pass the history proof.

Reviews (1) · Last reviewed commit: "test(e2e): stop requiring Content-Length..." · Reviewed by Greptile

This branch was previously deployed

1 inactive deployment
Preview — 773239c2 Deployed Nov 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant