Changeset 446
- Timestamp:
- 07/10/05 23:33:11
- Files:
-
- trunk/cherrypy/_cphttptools.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cphttptools.py
r440 r446 499 499 # this way CP won't load the whole file in memory 500 500 cherrypy.response.headerMap['Content-Length'] = stat[6] 501 cherrypy.response.body = open(filename, 'rb') 501 bodyfile = open(filename, 'rb') 502 cherrypy.response.body = fileGenerator(bodyfile) 502 503 503 504 # Set content-type based on filename extension

