79
79
filename: Filename in the local file system.
80
80
download: Should the file be viewed in browser or downloaded
87
interpret.interpret_file(req, owner, user_jail_dir, '', noop_object)
82
89
# Authorize access. If failure, this throws a HTTP_FORBIDDEN error.
86
93
interp_object = interpret.interpreter_objects["cgi-python"]
89
95
req.headers_out["Content-Disposition"] = "attachment"
90
96
interpret.interpret_file(req, owner, user_jail_dir,