Skip to content

file_server: set Range header for precompressed static files to force Content Length header to appear#7042

Merged
mholt merged 2 commits intomasterfrom
precompressed-cl
Aug 22, 2025
Merged

file_server: set Range header for precompressed static files to force Content Length header to appear#7042
mholt merged 2 commits intomasterfrom
precompressed-cl

Conversation

@WeidiDeng
Copy link
Copy Markdown
Member

…th header to appear

Fix 7040.

@francislavoie francislavoie changed the title file_server: set Range header for precompressed static files to force Content Leng… file_server: set Range header for precompressed static files to force Content Length header to appear Aug 21, 2025
Copy link
Copy Markdown
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Thanks Weidi, we'll give this a try!

@mholt mholt merged commit 67debd0 into master Aug 22, 2025
27 checks passed
@mholt mholt deleted the precompressed-cl branch August 22, 2025 14:23
@francislavoie francislavoie added this to the v2.10.1 milestone Aug 22, 2025
mohammed90 pushed a commit to cedricziel/caddy that referenced this pull request Aug 29, 2025
…Content Length header to appear (caddyserver#7042)

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
@mohammed90 mohammed90 mentioned this pull request Oct 25, 2025
46 tasks
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.

Content-Length header seems to be missing for precompressed files

3 participants