144
149
self.serve_file(req, owner, jail, path, download=True,files=self.files)
146
151
class PublicServeView(ServeView):
152
def __init__(self, req, context, subpath=None):
157
super(PublicServeView, self).__init__(req, context, subpath)
151
165
def authorize(self, req):
152
166
# Only accessible in public mode.