Merge pull request #4437 from minrk/etag

don't compute etags in static file handlers
Min RK 12 years ago
commit 4f3f1f1ebb

@ -221,6 +221,9 @@ class AuthenticatedFileHandler(IPythonHandler, web.StaticFileHandler):
return web.StaticFileHandler.get(self, path)
def compute_etag(self):
return None
def validate_absolute_path(self, root, absolute_path):
"""Validate and return the absolute path.
@ -312,6 +315,9 @@ class FileFindHandler(web.StaticFileHandler):
)
self.default_filename = default_filename
def compute_etag(self):
return None
@classmethod
def get_absolute_path(cls, roots, path):
"""locate a file to serve on our static file search path"""

Loading…
Cancel
Save