You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add more text MIME types with defined file extensions #146343
- ``.appcache`` and ``.manifest`` for ``text/cache-manifest``
- ``.ics`` and ``.ifb`` for ``text/calendar``
- ``.cql`` for ``text/cql``
- ``.csvs`` for ``text/csv-schema``
- ``.gff3`` for ``text/gff3``
- ``.cnd`` for ``text/jcr-cnd``
- ``.miz`` for ``text/mizar``
- ``.org`` for ``text/org``
- ``.provn`` for ``text/provenance-notation``
- ``.shaclc`` and ``.shc`` for ``text/shaclc``
- ``.shex`` for ``text/shex``
- ``.spdx`` for ``text/spdx``
- ``.ttl`` for ``text/turtle``
- ``.uri`` and ``.uris`` for ``text/uri-list``
- ``.vcard`` and ``.vcf`` for ``text/vcard``
- ``.ascii`` for ``text/vnd.ascii-art``
- ``.curl`` for ``text/vnd.curl``
- ``.gml`` for ``text/vnd.gml``
- ``.gv`` for ``text/vnd.graphviz``
- ``.wgsl`` for ``text/wgsl``
- ``.ent`` for ``text/xml-external-parsed-entity``
I am willing to add .ics and .vcard but the others aren't that used I think. .manifest and .csvs may be relevant though, IDK.
Graphviz, SPDX (a Linux Foundation standard), and Org Emacs files have well-known specs and defined file extenions. The others have formally-defined MIME types, so they should be added for completeness
Oh right, SPDX is useful. I'm not willing to add others for the sake of completeness though. I would rather have an autogenerate list instead if we want "completeness". In addition, your changes changed the priority order of mime types, so we should be extra careful here.
First, we need to decide whether we want to all those types. I asked to create an issue for gathering similar MIME types so that we can discuss first which ones to add as well.
I think some are useful, but not all of them. The list is already growing a lot and I think it would make more sense to have that list in an auto-generated file instead but that's also another question.
For now, I want you to revert the changes you made in the PR that are not additions and wait until we decide what to do (both for text and video types). TiA.
Activity
bitdancer commentedon Mar 24, 2026
Please provide documentation on the validity of these additions.
picnixz commentedon Mar 25, 2026
The list adds:
I am willing to add
.icsand.vcardbut the others aren't that used I think..manifestand.csvsmay be relevant though, IDK.clin1234 commentedon Mar 25, 2026
Graphviz, SPDX (a Linux Foundation standard), and Org Emacs files have well-known specs and defined file extenions. The others have formally-defined MIME types, so they should be added for completeness
picnixz commentedon Mar 25, 2026
Oh right, SPDX is useful. I'm not willing to add others for the sake of completeness though. I would rather have an autogenerate list instead if we want "completeness". In addition, your changes changed the priority order of mime types, so we should be extra careful here.
clin1234 commentedon Mar 25, 2026
Do you mean the JS file types? You can mark the diffs containing them in my PR for reversion if you like.
picnixz commentedon Mar 25, 2026
First, we need to decide whether we want to all those types. I asked to create an issue for gathering similar MIME types so that we can discuss first which ones to add as well.
I think some are useful, but not all of them. The list is already growing a lot and I think it would make more sense to have that list in an auto-generated file instead but that's also another question.
For now, I want you to revert the changes you made in the PR that are not additions and wait until we decide what to do (both for
textandvideotypes). TiA.