New submission from Florent Xicluna: Trying to parse the W3C sample, it fails in 3.3 (while it passes on 2.7). http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4 (last example)
Content-Type: multipart/form-data; boundary=AaB03x --AaB03x Content-Disposition: form-data; name="submit-name" Larry --AaB03x Content-Disposition: form-data; name="files" Content-Type: multipart/mixed; boundary=BbC04y --BbC04y Content-Disposition: file; filename="file1.txt" Content-Type: text/plain ... contents of file1.txt ... --BbC04y Content-Disposition: file; filename="file2.gif" Content-Type: image/gif Content-Transfer-Encoding: binary ...contents of file2.gif... --BbC04y-- --AaB03x-- (broken) test attached. ---------- components: Library (Lib) files: test_multipart_w3.diff keywords: patch messages: 189609 nosy: flox, orsenthil priority: normal severity: normal status: open title: cgi.FieldStorage does not parse W3C sample type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file30313/test_multipart_w3.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18013> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com