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

mime: extend "builtinTypes" to include a more complete list of common types #69533

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 19, 2024

  1. mime: lists the "common types" listed on MDN

    Simply implements the first recommended type for each file extension listed in MDN https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
    
    However, this excludes ".3gp" and ".3gp2" as from from I can tell it is not possible to know if it is video or audio solely from file extension.
    
    As far as I can tell there are two previous PRs that each implemented a type simply because they were in common use.
    
    Updates golang#69530
    AidanWelch committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    4526569 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. mime: extend builtinTypesLower

    Comment with the source of the builtin types
    
    Updates golang#69530
    AidanWelch committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    3cc1e3c View commit details
    Browse the repository at this point in the history