|
67 | 67 | # TODO: Add more file formats |
68 | 68 |
|
69 | 69 | mimetype_dict = { |
70 | | - "application/dicom": "DICOM", |
71 | 70 | "application/dbase": "DBF", |
72 | 71 | "application/dbf": "DBF", |
| 72 | + "application/dicom": "DICOM", |
73 | 73 | "application/eps": "EPS", |
74 | 74 | "application/fits": "FITS", |
75 | 75 | "application/json": "JSON", |
76 | 76 | "application/mathematica": "NB", |
77 | | - "application/mdb": "MDB", |
78 | 77 | "application/mbox": "MBOX", |
| 78 | + "application/mdb": "MDB", |
79 | 79 | "application/msaccess": "MDB", |
80 | 80 | "application/octet-stream": "OBJ", |
81 | | - "application/pdf": "PDF", |
82 | 81 | "application/pcx": "PCX", |
| 82 | + "application/pdf": "PDF", |
83 | 83 | "application/postscript": "EPS", |
84 | 84 | "application/rss+xml": "RSS", |
85 | 85 | "application/rtf": "RTF", |
|
88 | 88 | "application/vnd.google-earth.kml+xml": "KML", |
89 | 89 | "application/vnd.ms-excel": "XLS", |
90 | 90 | "application/vnd.ms-pki.stl": "STL", |
| 91 | + "application/vnd.msaccess": "MDB", |
91 | 92 | "application/vnd.oasis.opendocument.spreadsheet": "ODS", |
92 | 93 | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "XLSX", # nopep8 |
93 | 94 | "application/vnd.sun.xml.calc": "SXC", |
94 | | - "application/vnd.msaccess": "MDB", |
95 | 95 | "application/vnd.wolfram.cdf": "CDF", |
96 | 96 | "application/vnd.wolfram.cdf.text": "CDF", |
97 | 97 | "application/vnd.wolfram.mathematica.package": "Package", |
98 | | - "application/xhtml+xml": "XHTML", |
99 | | - "application/xml": "XML", |
100 | 98 | "application/x-3ds": "3DS", |
101 | 99 | "application/x-cdf": "NASACDF", |
102 | 100 | "application/x-eps": "EPS", |
|
107 | 105 | "application/x-netcdf": "NetCDF", |
108 | 106 | "application/x-shockwave-flash": "SWF", |
109 | 107 | "application/x-tex": "TeX", # Also TeX |
| 108 | + "application/xhtml+xml": "XHTML", |
| 109 | + "application/xml": "XML", |
110 | 110 | "audio/aiff": "AIFF", |
111 | 111 | "audio/basic": "AU", # Also SND |
112 | 112 | "audio/midi": "MIDI", |
113 | 113 | "audio/x-aifc": "AIFF", |
114 | 114 | "audio/x-aiff": "AIFF", |
115 | 115 | "audio/x-flac": "FLAC", |
116 | 116 | "audio/x-wav": "WAV", |
117 | | - "chemical/seq-na-genbank": "GenBank", |
118 | 117 | "chemical/seq-aa-fasta": "FASTA", |
119 | 118 | "chemical/seq-na-fasta": "FASTA", |
120 | 119 | "chemical/seq-na-fastq": "FASTQ", |
| 120 | + "chemical/seq-na-genbank": "GenBank", |
121 | 121 | "chemical/seq-na-sff": "SFF", |
122 | 122 | "chemical/x-cif": "CIF", |
123 | 123 | "chemical/x-daylight-smiles": "SMILES", |
|
158 | 158 | "image/x-portable-graymap": "PGM", |
159 | 159 | "image/x-portable-pixmap": "PPM", |
160 | 160 | "image/x-xbitmap": "XBM", |
161 | | - "model/x3d+xml": "X3D", |
162 | 161 | "model/vrml": "VRML", |
163 | 162 | "model/x-lwo": "LWO", |
164 | 163 | "model/x-pov": "POV", |
| 164 | + "model/x3d+xml": "X3D", |
165 | 165 | "text/calendar": "ICS", |
166 | 166 | "text/comma-separated-values": "CSV", |
167 | 167 | "text/csv": "CSV", |
|
173 | 173 | "text/tab-separated-values": "TSV", |
174 | 174 | "text/texmacs": "Text", |
175 | 175 | "text/vnd.graphviz": "DOT", |
| 176 | + "text/x-comma-separated-values": "CSV", |
176 | 177 | "text/x-csrc": "C", |
177 | 178 | "text/x-tex": "TeX", |
178 | 179 | "text/x-vcalendar": "VCS", |
|
0 commit comments