Open defnull opened 14 years ago
The code used a lot of string concatenation. I think using format would be preferred. And I saw stuff like this self.dict.get(key) or [] .. Can't we try self.dict.get(key, []) in the design? And this return [default][index] is a bit hard to comprehend
Is there an update on this?
cgi.FieldStorage()
seems still to be broken (with Python 3.4 at least) so an update of bottle on that topic would be great.
The current multipart-form-parser implementation is broken (because it uses cgi.FieldStorage(), which is broken).There was only a single working implementation (wekzeug) available, but that did not support python 3.x, so I started a new repository to address this issue: http://github.com/defnull/multipart
The new implementation passes all the werkzeug-tests (and some more), works with 3.x, is quite small (300 LoC if you strip out redundant stuff that is already part of Bottle) and already released. I would like to find a way to integrate this into bottle. See #66