From 8d960550f2b377c6cf092b600ab9bcc5f610b78f Mon Sep 17 00:00:00 2001 From: MARK SCHWAB <32745414+schwabm@users.noreply.github.com> Date: Mon, 11 May 2020 17:09:18 -0600 Subject: [PATCH 1/3] Update mimetypes.py Could you update the types to include the newer version of hdf... hdf5 with .h5 file extension? See 'Recommendations' section for mime types from the HDF group here: https://www.hdfgroup.org/2018/06/citations-for-hdf-data-and-software/ --- Lib/mimetypes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index e972ca2e291a0b..61bfff1635911f 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -448,6 +448,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', From e19de89839ce1a3319a1ff2a660d6e5cc334218e Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Mon, 18 May 2020 17:29:30 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../NEWS.d/next/Library/2020-05-18-17-29-30.bpo-40626.NeZufF.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2020-05-18-17-29-30.bpo-40626.NeZufF.rst diff --git a/Misc/NEWS.d/next/Library/2020-05-18-17-29-30.bpo-40626.NeZufF.rst b/Misc/NEWS.d/next/Library/2020-05-18-17-29-30.bpo-40626.NeZufF.rst new file mode 100644 index 00000000000000..518b00552b4d59 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-05-18-17-29-30.bpo-40626.NeZufF.rst @@ -0,0 +1 @@ +Add h5 file extension as MIME Type application/x-hdf5, as per HDF Group recommendation for HDF5 formatted data files. \ No newline at end of file From cce203dd694a990a5473f722751bf63565df2613 Mon Sep 17 00:00:00 2001 From: Andrew Kuchling Date: Thu, 11 Jun 2020 14:26:15 -0400 Subject: [PATCH 3/3] Update Misc/NEWS.d/next/Library/2020-05-18-17-29-30.bpo-40626.NeZufF.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rémi Lapeyre --- .../next/Library/2020-05-18-17-29-30.bpo-40626.NeZufF.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2020-05-18-17-29-30.bpo-40626.NeZufF.rst b/Misc/NEWS.d/next/Library/2020-05-18-17-29-30.bpo-40626.NeZufF.rst index 518b00552b4d59..fe652cd7ee39d6 100644 --- a/Misc/NEWS.d/next/Library/2020-05-18-17-29-30.bpo-40626.NeZufF.rst +++ b/Misc/NEWS.d/next/Library/2020-05-18-17-29-30.bpo-40626.NeZufF.rst @@ -1 +1 @@ -Add h5 file extension as MIME Type application/x-hdf5, as per HDF Group recommendation for HDF5 formatted data files. \ No newline at end of file +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.