Content server: Making serving of large files more efficient.

This commit is contained in:
Kovid Goyal 2010-09-19 10:16:41 -06:00
parent 4dd60160c4
commit 23cd4fd783

View File

@ -184,7 +184,7 @@ class ContentServer(object):
if path and os.path.exists(path):
updated = fromtimestamp(os.stat(path).st_mtime)
cherrypy.response.headers['Last-Modified'] = self.last_modified(updated)
return fmt.read()
return fmt
# }}}