104
104
from common import (util, studpath)
108
111
# application/json is the "best" content type but is not good for
109
112
# debugging because Firefox just tries to download it
110
113
mime_dirlisting = "text/html"
111
114
#mime_dirlisting = "application/json"
114
117
"""Perform the "return" part of the response.
115
118
This function returns the file or directory listing contained in
116
119
req.path. Sets the HTTP response code in req, writes additional headers,