-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefinitions.py
53 lines (53 loc) · 1.55 KB
/
definitions.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
ContentTypes = {
'.htm': 'text/html',
'.html': 'text/html',
'.jpeg': 'image/jpeg',
'.jpg': 'image/jpeg',
'.png': 'image/png',
'.bmp': 'image/bmp',
'.gif': 'image/gif',
'.svg': 'image/svg+xml',
'.webp': 'image/webp',
'.ico': 'image/vnd.microsoft.icon',
'.xcf': 'image/x-xcf',
'.mpeg': 'video/mpeg',
'.mp4': 'video/mp4',
'.ts': 'video/MP2T',
'.rtf': 'application/rtf',
'.txt': 'text/plain',
'.md': 'text/markdown',
'.csv': 'tet/csv',
'.css': 'text/css',
'.scss': 'text/less',
'.less': 'text/less',
'.yml': 'text/x-yaml',
'.js': 'application/javascript',
'.json': 'application/json',
'.xml': 'application/xml',
'.pdf': 'application/pdf',
'.doc': 'application/msword',
'.docx': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'.xls': 'application/vnd.ms-excel',
'.xlsx': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'.ppt': 'application/vnd.ms-powerpoint',
'.woff': 'font/woff',
'.woff2': 'font/woff2',
'.eot': 'application/vnd.ms-fontobject',
'.ttf': 'font/ttf',
'.otf': 'font/otf',
'.zip': 'application/zip',
'.mp3': 'audio/mpeg',
'.mp4': 'video/mp4',
'.wav': 'audio/wav',
'.oga': 'audio/ogg',
'.ogv': 'video/ogg',
'.mpeg': 'video/mpeg',
'.mpg': 'video/mpeg',
'.avi': 'video/x-msvideo',
'.aac': 'audio/aac',
'.weba': 'audio/webm',
'.webm': 'video/webm',
'.mov': 'video/quicktime',
'.wmv': 'video/x-ms-wmv',
'.flv': 'video/x-flv'
}