Project

General

Profile

Download (1.42 KB) Statistics
| Branch: | Tag: | Revision:

haketilo / test / misc_constants.py @ 591c48a6

1
# Copyright (C) 2021 jahoti <jahoti@tilde.team>
2
# Licensing information is collated in the `copyright` file
3

    
4
"""
5
Miscellaneous data that were found useful
6
"""
7

    
8
mime_types = {
9
	"7z": "application/x-7z-compressed",	"oga": "audio/ogg",
10
	"abw": "application/x-abiword",		"ogv": "video/ogg",
11
	"arc": "application/x-freearc",		"ogx": "application/ogg",
12
	"bin": "application/octet-stream",	"opus": "audio/opus",
13
	"bz": "application/x-bzip",		"otf": "font/otf",
14
	"bz2": "application/x-bzip2",		"pdf": "application/pdf",
15
	"css": "text/css",			"png": "image/png",
16
	"csv": "text/csv",			"sh": "application/x-sh",
17
	"gif": "image/gif",			"svg": "image/svg+xml",
18
	"gz": "application/gzip",		"tar": "application/x-tar",
19
	"htm": "text/html",			"ts": "video/mp2t",
20
	"html": "text/html",			"ttf": "font/ttf",
21
	"ico": "image/vnd.microsoft.icon",	"txt": "text/plain",
22
	"js": "text/javascript",		"wav": "audio/wav",
23
	"jpeg": "image/jpeg",			"weba": "audio/webm",
24
	"jpg": "image/jpeg",			"webm": "video/webm",
25
	"json": "application/json",		"woff": "font/woff",	
26
	"mjs": "text/javascript",		"woff2": "font/woff2",
27
	"mp3": "audio/mpeg",			"xhtml": "application/xhtml+xml",
28
	"mp4": "video/mp4",			"zip": "application/zip",
29
	"mpeg": "video/mpeg",
30
	"odp": "application/vnd.oasis.opendocument.presentation",
31
	"ods": "application/vnd.oasis.opendocument.spreadsheet",
32
	"odt": "application/vnd.oasis.opendocument.text",
33
	"xml": "application/xml" # text/xml if readable from casual users
34
}
(3-3/6)