Skip to content

Comments

fix(#2411): add html to gzip types to fix cliennt responses#2917

Open
JacobCoffee wants to merge 1 commit intomainfrom
fix/fastly-gzip-html-2411
Open

fix(#2411): add html to gzip types to fix cliennt responses#2917
JacobCoffee wants to merge 1 commit intomainfrom
fix/fastly-gzip-html-2411

Conversation

@JacobCoffee
Copy link
Member

Description

  • Add text/html

Closes

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes issue #2411 where the Python.org downloads page was being returned as binary/compressed data instead of readable HTML when accessed via curl or wget. The root cause was that text/html was missing from the Fastly CDN gzip configuration's content types list.

Changes:

  • Added text/html to the gzip content_types list in the Fastly CDN configuration
  • Removed duplicate entries (application/javascript appeared twice)
  • Reorganized content types into alphabetical order for better maintainability

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Python Website "downloads page" returns binary data

1 participant