bpo-40626: Support HDF5 in mimetypes (GH-20042)
Add hdf5 with .h5 file extension
See 'Recommendations' section for mime types from the HDF group: https://www.hdfgroup.org/2018/06/citations-for-hdf-data-and-software/
Patch by Mark Schwab.
(cherry picked from commit 60c2a810e3
)
Co-authored-by: MARK SCHWAB <32745414+schwabm@users.noreply.github.com>
This commit is contained in:
parent
3e499cda47
commit
a3d6d23a92
|
@ -447,6 +447,7 @@ def _default_mime_types():
|
|||
'.dvi' : 'application/x-dvi',
|
||||
'.gtar' : 'application/x-gtar',
|
||||
'.hdf' : 'application/x-hdf',
|
||||
'.h5' : 'application/x-hdf5',
|
||||
'.latex' : 'application/x-latex',
|
||||
'.mif' : 'application/x-mif',
|
||||
'.cdf' : 'application/x-netcdf',
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Add h5 file extension as MIME Type application/x-hdf5, as per HDF Group recommendation for HDF5 formatted data files. Patch contributed by Mark Schwab.
|
Loading…
Reference in New Issue