Changeset 5925 for main/waeup.sirp/trunk/src/waeup/sirp/image/browser
- Timestamp:
- 11 Apr 2011, 21:47:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/image/browser/views.py
r5922 r5925 37 37 context's filename. 38 38 """ 39 content_type = mimetypes.guess_type(self.context.filename.lower()) 39 content_type, encoding = mimetypes.guess_type( 40 self.context.filename.lower()) 40 41 if content_type is not None: 41 42 self.response.setHeader('Content-Type', content_type)
Note: See TracChangeset for help on using the changeset viewer.