|
1 | | -# Hydrogram - Telegram MTProto API Client Library for Python |
2 | | -# Copyright (C) 2017-2023 Dan <https://github.com/delivrance> |
3 | | -# Copyright (C) 2023-present Hydrogram <https://hydrogram.org> |
4 | | -# |
5 | | -# This file is part of Hydrogram. |
6 | | -# |
7 | | -# Hydrogram is free software: you can redistribute it and/or modify |
8 | | -# it under the terms of the GNU Lesser General Public License as published |
9 | | -# by the Free Software Foundation, either version 3 of the License, or |
10 | | -# (at your option) any later version. |
11 | | -# |
12 | | -# Hydrogram is distributed in the hope that it will be useful, |
13 | | -# but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | | -# GNU Lesser General Public License for more details. |
16 | | -# |
17 | | -# You should have received a copy of the GNU Lesser General Public License |
18 | | -# along with Hydrogram. If not, see <http://www.gnu.org/licenses/>. |
19 | | - |
20 | 1 | # From https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types. |
21 | 2 | # Extended with extra mime types specific to Telegram. |
| 3 | + |
22 | 4 | mime_types = """ |
23 | 5 | # This file maps Internet media types to unique file extension(s). |
24 | 6 | # Although created for httpd, this file is used by many software systems |
|
164 | 146 | application/java-archive jar |
165 | 147 | application/java-serialized-object ser |
166 | 148 | application/java-vm class |
167 | | -application/javascript js |
| 149 | +# application/javascript |
168 | 150 | # application/jose |
169 | 151 | # application/jose+json |
170 | 152 | # application/jrd+json |
|
607 | 589 | # application/vnd.geo+json |
608 | 590 | # application/vnd.geocube+xml |
609 | 591 | application/vnd.geogebra.file ggb |
| 592 | +application/vnd.geogebra.slides ggs |
610 | 593 | application/vnd.geogebra.tool ggt |
611 | 594 | application/vnd.geometry-explorer gex gre |
612 | 595 | application/vnd.geonext gxt |
|
1234 | 1217 | application/vnd.zzazz.deck+xml zaz |
1235 | 1218 | application/voicexml+xml vxml |
1236 | 1219 | # application/vq-rtcpxr |
| 1220 | +application/wasm wasm |
1237 | 1221 | # application/watcherinfo+xml |
1238 | 1222 | # application/whoispp-query |
1239 | 1223 | # application/whoispp-response |
|
1458 | 1442 | # audio/mp4a-latm |
1459 | 1443 | # audio/mpa |
1460 | 1444 | # audio/mpa-robust |
1461 | | -audio/mpeg mp3 mpga mp2 mp2a m2a m3a |
| 1445 | +audio/mpeg mpga mp2 mp2a mp3 m2a m3a |
1462 | 1446 | # audio/mpeg4-generic |
1463 | 1447 | # audio/musepack |
1464 | | -audio/ogg ogg oga spx |
| 1448 | +audio/ogg oga ogg spx opus |
1465 | 1449 | # audio/opus |
1466 | 1450 | # audio/parityfec |
1467 | 1451 | # audio/pcma |
|
1569 | 1553 | image/ief ief |
1570 | 1554 | # image/jls |
1571 | 1555 | # image/jp2 |
1572 | | -image/jpeg jpg jpeg jpe |
| 1556 | +image/jpeg jpeg jpg jpe |
1573 | 1557 | # image/jpm |
1574 | 1558 | # image/jpx |
1575 | 1559 | image/ktx ktx |
|
1665 | 1649 | # model/vnd.gs.gdl |
1666 | 1650 | model/vnd.gtw gtw |
1667 | 1651 | # model/vnd.moml+xml |
1668 | | -model/vnd.mts mts |
| 1652 | +# model/vnd.mts |
1669 | 1653 | # model/vnd.opengex |
1670 | 1654 | # model/vnd.parasolid.transmit.binary |
1671 | 1655 | # model/vnd.parasolid.transmit.text |
|
1708 | 1692 | # text/fwdred |
1709 | 1693 | # text/grammar-ref-list |
1710 | 1694 | text/html html htm |
1711 | | -# text/javascript |
| 1695 | +text/javascript js mjs |
1712 | 1696 | # text/jcr-cnd |
1713 | 1697 | # text/markdown |
1714 | 1698 | # text/mizar |
|
1804 | 1788 | video/mj2 mj2 mjp2 |
1805 | 1789 | # video/mp1s |
1806 | 1790 | # video/mp2p |
1807 | | -# video/mp2t |
| 1791 | +video/mp2t ts m2t m2ts mts |
1808 | 1792 | video/mp4 mp4 mp4v mpg4 |
1809 | 1793 | # video/mp4v-es |
1810 | 1794 | video/mpeg mpeg mpg mpe m1v m2v |
|
0 commit comments