Skip to content

text/javascript only #1959

Open
Open
@Martii

Description

@Martii

What’s missing?

Code point cleanup:

case 'application/x-javascript': // #872 #1661
case 'application/javascript': // #1599
case 'text/javascript': // Default

'text/javascript',
'text/ecmascript',
'application/javascript',
'application/x-javascript',

Why?

Because they've finally standardized it ... at least on paper and not necessarily browser implementation which will need to be fully retested ... to one MIME (Content) type. See also https://www.rfc-editor.org/rfc/rfc9239 and possible next mime-db dep update.

Alternatives you tried

#1661
#1599
#872

Metadata

Metadata

Assignees

No one assigned

    Labels

    CODESome other Code related issue and it should clearly describe what it is affecting in a comment.enhancementSomething we do have implemented already but needs improvement upon to the best of knowledge.migrationUse this to indicate that it may apply to an existing or announced migration.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions