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

Update MIME types #51

Merged
merged 1 commit into from
Apr 7, 2021
Merged

Update MIME types #51

merged 1 commit into from
Apr 7, 2021

Conversation

valtlai
Copy link
Contributor

@valtlai valtlai commented Apr 7, 2021

* Deleted the `charset` parameter from `application/json`
  because the default encoding for JSON
  (https://tools.ietf.org/html/rfc7159#section-8.1),
  or the only one that’s allowed
  (https://tools.ietf.org/html/rfc8259#section-8.1), is UTF-8
  and there’s actually no that parameter defined for the MIME type
  (https://tools.ietf.org/html/rfc8259#page-12).
* Added the `charset` parameter to `image/svg+xml`
  because it has no such default charset.
* Added the following formats to the list:
  * the RSS and Atom feed
  * web app manifest
    (https://developer.mozilla.org/en-US/docs/Web/Manifest)
  * AV1 image format (AVIF) and animated PNG (APNG),
    both having some browser support (https://caniuse.com/avif,apng).
@oscarotero
Copy link
Member

Thanks! 👍

@oscarotero oscarotero merged commit 43ad64c into lumeland:master Apr 7, 2021
@valtlai valtlai deleted the mimes branch April 8, 2021 00:04
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.

2 participants