-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
25 lines (24 loc) · 792 Bytes
/
constants.py
File metadata and controls
25 lines (24 loc) · 792 Bytes
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
ZIP_MAX_SIZE_IN_MB = 10
ZIP_MAX_COMPRESSION_RATIO = 10
CACHE_CONTROL_MAXAGE = 3600 * 4
MIME_MAP = {
'': 'text/plain',
'.aar': 'application/java-archive',
'.apk': 'application/vnd.android.package-archive',
'.asc': 'text/plain',
'.beet': 'text/plain',
'.bundle': 'application/octet-stream',
'.bz2': 'application/octet-stream',
'.checksums': 'text/plain',
'.dmg': 'application/x-iso9660-image',
'.jar': 'application/java-archive',
'.json': 'application/json',
'.mar': 'application/octet-stream',
'.md5': 'text/plain',
'.msi': 'application/x-msi',
'.pkg': 'application/x-newton-compatible-pkg',
'.pom': 'application/xml',
'.sha1': 'text/plain',
'.snap': 'application/octet-stream',
'.xpi': 'application/x-xpinstall',
}