Skip to content

Update makefsdata.py to support content encoding Fixes #2548 #2549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 14, 2025

Conversation

rbryson74
Copy link
Contributor

changed makefsdata.py slightly to allow it to recognize files that have been manually gzipped (e.g. "mysite.css.gz") to send the proper Content-Encoding information in the response headers.

Fixes #2548

changed makefsdata.py slightly to allow it to recognize files that have been manually gzipped (e.g. "mysite.css.gz") to send the proper Content-Encoding information in the response headers.
@peterharperuk peterharperuk self-requested a review July 2, 2025 17:37
@peterharperuk
Copy link
Contributor

Looks plausible. Would like to update the pico-example to use it to be sure.

@kilograham kilograham added this to the 2.1.2 milestone Jul 14, 2025
Copy link
Contributor

@peterharperuk peterharperuk left a comment

Choose a reason for hiding this comment

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

Works nicely

@kilograham kilograham merged commit 19904be into raspberrypi:develop Jul 14, 2025
6 checks passed
peterharperuk added a commit to peterharperuk/pico-examples that referenced this pull request Jul 18, 2025
peterharperuk added a commit to peterharperuk/pico-examples that referenced this pull request Jul 18, 2025
kilograham pushed a commit to raspberrypi/pico-examples that referenced this pull request Jul 20, 2025
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.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy