1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# IVLE Configuration File
# conf/mimetypes.py
# Configuration of mime types
# These should not need to be modified by admins unless there are problems
# with file type identification.
# Mapping file extensions to mime types
# Note that IVLE uses Python's mimetype library which looks in a bunch of
# files such as /etc/mime.types. This section allows you to add new mime types
# solely for use in IVLE.
# File extensions should include the leading '.'.
additional_mime_types = {
".py" : "text/x-python", # Redundant, but just in case
".psp" : "text/x-python-server-page",
".js" : "application/javascript", # Override bad default
}
|