[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0
Changes by Timothy Farrell : -- nosy: -tercero12 ___ Python tracker <http://bugs.python.org/issue4953> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0
Timothy Farrell added the comment: I think you hit the nail on the head. Now we just need (someone) to code it. -- ___ Python tracker <http://bugs.python.org/issue4953> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4661] email.parser: impossible to read messages encoded in a different encoding
Changes by Timothy Farrell : -- nosy: +tercero12 ___ Python tracker <http://bugs.python.org/issue4661> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0
Timothy Farrell added the comment: I thought I'd take a crack at this today. I soon figured out the real issue. It is the email.parser module that handles the decoding of Multipart/form-data things...and it is also still quote broken w.r.t. handling Bytes. So this issue is dependent on http://bugs.python.org/issue4661 before it can be fixed. -- ___ Python tracker <http://bugs.python.org/issue4953> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4969] mimetypes on Windows should read MIME database from registry (w/patch)
Changes by Timothy Farrell : -- nosy: +tercero12 ___ Python tracker <http://bugs.python.org/issue4969> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0
Timothy Farrell added the comment: Perhaps this update should go in the linked email bug. The email team has a goal of fixing the email module in time for the 3.2 release. I also, feel as though I lack the skill to fix the email module, but it goes beyond that since they're potentially having to change some interfaces. See this document: http://wiki.python.org/moin/Email%20SIG/DesignThoughts Once the email module is fixed, the cgi module will be trivial to fix. I'm confident enough to handle it. I don't think anyone can give you a date so you'll have to make the custom solution decision based on your timeframe and patience. -- ___ Python tracker <http://bugs.python.org/issue4953> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4661] email.parser: impossible to read messages encoded in a different encoding
Timothy Farrell added the comment: Just an update for people interested: The email team has a goal of fixing the email module in time for the 3.2 release. There is the possibility of having to change some interfaces. See this document: http://wiki.python.org/moin/Email%20SIG/DesignThoughts -- ___ Python tracker <http://bugs.python.org/issue4661> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0
Changes by Timothy Farrell : -- nosy: +tercero12 ___ Python tracker <http://bugs.python.org/issue4953> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0
Timothy Farrell added the comment: I'm working on a web framework for Python 3. Naturally this is a blocker for me. I was kinda expecting this to be addressed in 3.1 but now that rc1 is out and I don't see anything about it, I'm wondering about the status of this bug. Can we get a status update? -- versions: +Python 3.2 ___ Python tracker <http://bugs.python.org/issue4953> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0
Timothy Farrell added the comment: I've attached unittest.zip. Simply unzip it to a directory and run it. I've included a Python2.x version of the unittest for the sake of clarity. The 2.x version was developed on 2.4. The 3.x version was developed on 3.0.1 and 3.1rc1 (with identical results). It seems that there are several issues with cgi.FieldStorage and multi-part form data. - Does Formstation read in a Bytes or String? -- It seems to expect a String but this yields invalid results for uploading files. -- A stream of Bytes would make more sense but loses it Pythonic "Batteries included" nature if the user has to decode the encoding manually for each form field. -- Added file: http://bugs.python.org/file14235/unittest.zip ___ Python tracker <http://bugs.python.org/issue4953> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0
Timothy Farrell added the comment: Yes, they are related but not quite the same. The solution to this problem will likely include a fix to the problem described in issue 8077. -- ___ Python tracker <http://bugs.python.org/issue4953> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com