Changeset 1917
- Timestamp:
- 03/14/08 10:11:11
- Files:
-
- trunk/cherrypy/lib/static.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/lib/static.py
r1753 r1917 1 import mimetools2 1 import mimetypes 3 2 mimetypes.init() … … 94 93 # Return a multipart/byteranges response. 95 94 response.status = "206 Partial Content" 95 import mimetools 96 96 boundary = mimetools.choose_boundary() 97 97 ct = "multipart/byteranges; boundary=%s" % boundary

