Armin Ronacher  committed cb0d8aa

Fixed a coding typo in the multipart parser.

  • Participants
  • Parent commits 26e9cc7
  • Branches master

Comments (0)

Files changed (2)

 - Added a workaround to prevent the XSS protection from Chrome
   breaking the debugger.
 - Skip redis tests if redis is not running.
+- Fixed a typo in the multipart parser that caused content-type
+  to not be picked up properly.
 Version 0.8.3

File werkzeug/

     def start_file_streaming(self, filename, headers, total_content_length):
         filename = _decode_unicode(filename, self.charset, self.errors)
         filename = self._fix_ie_filename(filename)
-        content_type = headers.get('content_type')
+        content_type = headers.get('content-type')
             content_length = int(headers['content-length'])
         except (KeyError, ValueError):