Skip to content

Add more video MIME types with defined file extensions #146341

Open

Description

@clin1234

Activity

  1. added
    type-featureA feature request or enhancement
    stdlibStandard Library Python modules in the Lib/ directory
    on Mar 23, 2026
  2. bitdancer commented on Mar 24, 2026

    @bitdancer
    Member

    Please provide documentation on the validity of these additions.

  3. picnixz commented on Mar 25, 2026

    @picnixz
    Member

    We usually register the valid mimetypes if we forgot about them in mimetype. It suffices for them to be present in the IANA registry and we are fine with adding them (we did so in the past).

    Now, whether they are useful or not is another question. The comment in the module doesn't forbid rare additions:

    # Before adding new types, make sure they are either registered with IANA,
    # at https://www.iana.org/assignments/media-types/media-types.xhtml
    # or extensions, i.e. using the x- prefix
    
    # If you add to these, please keep them sorted by mime type.
    # Make sure the entry with the preferred file extension for a particular mime type
    # appears before any others of the same mimetype.
    
  4. picnixz commented on Mar 25, 2026

    @picnixz
    Member

    Now, I don't know whether they are used a lot in the wild so I don't really know whether it's fine to complete the list or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pendingThe issue will be closed if no feedback is providedstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions