62
67
# their own files, and can access all of them).
70
def serve_file(req, owner, filename, download=False):
66
71
"""Serves a file, using one of three possibilities: interpreting the file,
67
72
serving it directly, or denying it and returning a 403 Forbidden error.
68
73
No return value. Writes to req (possibly throwing a server error exception