changeset 9988 | 623707a0c404 |
parent 9944 | 9b3b21b7ff3e |
child 9995 | c9f1111e0ee8 |
--- a/wsgi/request.py Tue Sep 23 11:18:56 2014 +0200 +++ b/wsgi/request.py Tue Sep 09 22:14:20 2014 +0200 @@ -81,10 +81,7 @@ self.content = environ['wsgi.input'] if files is not None: for key, part in files.iteritems(): - name = None - if part.filename is not None: - name = unicode(part.filename, self.encoding) - self.form[key] = (name, part.file) + self.form[key] = (part.filename, part.file) def __repr__(self): # Since this is called as part of error handling, we need to be very