summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Roche <roche@httrack.com>2022-12-30 14:56:10 +0100
committerGitHub <noreply@github.com>2022-12-30 14:56:10 +0100
commitfa14db8666686a3920cfa3983b51a1b49fbd6fc9 (patch)
tree2a0e485d6636480b74ad1e221d2fec9b7c0a7d1b /src
parentda3003e422bdcdf0b2cf18570b69625a1df7fff3 (diff)
parent0eae23c435b9feee4cfd1e19d9e53327e3c22ed7 (diff)
Merge pull request #197 from PabloCastellano/mimetypes-update
Add mimetypes for documents
Diffstat (limited to 'src')
-rw-r--r--src/htslib.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/htslib.c b/src/htslib.c
index 92c7d44..a73cbe1 100644
--- a/src/htslib.c
+++ b/src/htslib.c
@@ -457,6 +457,28 @@ const char *hts_mime[][2] = {
{"application/vnd.ms-works", "wdb"},
{"application/vnd.ms-works", "wks"},
{"application/vnd.ms-works", "wps"},
+ {"application/vnd.oasis.opendocument.chart", "odc"},
+ {"application/vnd.oasis.opendocument.database", "odb"},
+ {"application/vnd.oasis.opendocument.formula", "odf"},
+ {"application/vnd.oasis.opendocument.graphics", "odg"},
+ {"application/vnd.oasis.opendocument.graphics-template", "otg"},
+ {"application/vnd.oasis.opendocument.image", "odi"},
+ {"application/vnd.oasis.opendocument.presentation", "odp"},
+ {"application/vnd.oasis.opendocument.presentation-template", "otp"},
+ {"application/vnd.oasis.opendocument.spreadsheet", "ods"},
+ {"application/vnd.oasis.opendocument.spreadsheet-template", "ots"},
+ {"application/vnd.oasis.opendocument.text", "odt"},
+ {"application/vnd.oasis.opendocument.text-master", "odm"},
+ {"application/vnd.oasis.opendocument.text-template", "ott"},
+ {"application/vnd.oasis.opendocument.text-web", "oth"},
+ {"application/vnd.openxmlformats-officedocument.presentationml.presentation", "pptx"},
+ {"application/vnd.openxmlformats-officedocument.presentationml.slide", "sldx"},
+ {"application/vnd.openxmlformats-officedocument.presentationml.slideshow", "ppsx"},
+ {"application/vnd.openxmlformats-officedocument.presentationml.template", "potx"},
+ {"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "xlsx"},
+ {"application/vnd.openxmlformats-officedocument.spreadsheetml.template", "xltx"},
+ {"application/vnd.openxmlformats-officedocument.wordprocessingml.document", "docx"},
+ {"application/vnd.openxmlformats-officedocument.wordprocessingml.template", "dotx"},
{"application/x-compress", "z"},
{"application/x-compressed", "tgz"},
{"application/x-internet-signup", "ins"},