Skip to content

refactor: update ECMA script types#86

Merged
abonander merged 1 commit intoabonander:masterfrom
fritzchr:ecma_types
Dec 12, 2023
Merged

refactor: update ECMA script types#86
abonander merged 1 commit intoabonander:masterfrom
fritzchr:ecma_types

Conversation

@fritzchr
Copy link

Some ECMA script mime types were obsoleted in favor of 'text/javascript'. For a full reference check RFC 9239 (https://www.ietf.org/rfc/rfc9239.pdf).

The media type registrations herein are divided into two major categories: (1) the sole media type "text/javascript", which is now in common usage and (2) all of the media types that are obsolete (i.e., "application/ecmascript", "application/javascript", "application/x-ecmascript", "application/ x-javascript", "text/ecmascript", "text/javascript1.0", "text/javascript1.1", "text/javascript1.2", "text/ javascript1.3", "text/javascript1.4", "text/javascript1.5", "text/jscript", "text/livescript", and "text/xecmascript"

Some ECMA script mime types were obsoleted in favor of
'text/javascript'. For a full reference check RFC 9239
(https://www.ietf.org/rfc/rfc9239.pdf).
@abonander abonander merged commit 1ae1167 into abonander:master Dec 12, 2023
robjtede added a commit to actix/actix-web that referenced this pull request Jun 30, 2024
msrd0 added a commit to gotham-rs/gotham that referenced this pull request May 16, 2025
This upstream change broke it: abonander/mime_guess#86
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