Skip to content
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

Plack::MIME: Add definitions for JPEG XL, zstd and GnuPG file extensions #714

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marlencrabapple
Copy link
Contributor

These additions make sure Plack can serve these filetypes now nearly ubiquitous to the modern web without issue

For instance this fixes large, non-armored PGP files that have the just as common .gpg extension, regardless of encryption status i.e. a file with an attached signature, and archives utiizing zstd compression mistakenly getting opened as text rather than binary in the browser which can interrupt normal usage both often and long enough to cause annoyance

That, and JPEG XL images will open in-browser if supported

These additions make sure Plack can serve these filetypes now nearly ubiquitous
to the modern web without issue

For instance this fixes large, non-armored PGP files that have the just as
common .gpg extension, regardless of encryption status i.e. a file with an
attached signature, and archives utiizing zstd compression mistakenly getting
opened as text rather than binary in the browser which can interrupt normal
usage both often and long enough to cause annoyance

That, and JPEG XL images will open in-browser if supported
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.

1 participant