distgit: disable mod_mime_magic content encoding for archives #3193
No reviewers
Labels
No labels
ai-review-please
freeze-break-request
post-freeze
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/ansible!3193
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "victorkoycheff/ansible:issue-12812-fix-deflate-headers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes infra/tickets#12812.
It turns out
mod_deflatewas innocent.src.fedoraproject.orgdoesn't havegzip: trueenabled inproxies-websites.yml, so the proxy never applied the DEFLATE filter.The false headers are coming from the backend Apache (
pkgs01).mod_mime_magicreads the first bytes of unknown files (like.crate), sees the gzip magic bytes, and automatically attachesContent-Type: application/x-tarandContent-Encoding: x-gzip.This explicitly forces
application/octet-streamand unsets theContent-Encodingheader so clients don't double-decompress archives on the fly.Sounds possible. Lets try.