Use httpd's mime.types file

From <https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types>
This commit is contained in:
blank X 2021-04-29 17:39:02 +07:00
parent fb1b228d5b
commit 0c8e4d7466
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
2 changed files with 1857 additions and 0 deletions

1856
mime.types Normal file

File diff suppressed because it is too large Load Diff

View File

@ -19,6 +19,7 @@ from bs4 import BeautifulSoup
from telethon import TelegramClient, events
from telethon.utils import chunks, is_list_like
mimetypes.init(['mime.types'])
with open('config.yaml') as file:
config_data = yaml.safe_load(file)