fix(#2411): add html to gzip types to fix cliennt responses by JacobCoffee · Pull Request #2917 · python/pythondotorg

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.