Changeset 2080
- Timestamp:
- 11/08/08 16:36:53
- Files:
-
- trunk/cherrypy/lib/safemime.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/lib/safemime.py
r1678 r2080 110 110 """Wrap request.rfile in a reader that won't crash on no trailing CRLF.""" 111 111 h = cherrypy.request.headers 112 if not h.get('Content-Type' ).startswith('multipart/'):112 if not h.get('Content-Type','').startswith('multipart/'): 113 113 return 114 114 if flash_only and not 'Shockwave Flash' in h.get('User-Agent', ''):

