[issue1817] module-cgi: handling GET and POST together

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Commited the final Nubis' version in r64447. Fixed, :). Thank you all! -- nosy: +facundobatista resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue1817] module-cgi: handling GET and POST together

2008-06-21 Thread Nubis
Nubis <[EMAIL PROTECTED]> added the comment: I moved the test into the current test_cgi.py, and also added the docs and NEWS. This patch also includes all the previous changes and is the only one that needs to be merged. Now I think it def should be closed :) Added file: http://bugs.python.org

[issue1817] module-cgi: handling GET and POST together

2008-06-21 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Thanks for your contribution! To get this commmitted, please draw the attention of someone else on python-dev (or if you're an IRC person try #python-dev at freenote, IIRC). I'd recommend moving the tests into the existing test_cgi.py. __

[issue1817] module-cgi: handling GET and POST together

2008-06-21 Thread Nubis
Nubis <[EMAIL PROTECTED]> added the comment: This was pretty much done when I got here. It broked the other cgi_test (which tests some other corner cases). Patch includes modifications to Lib/cgi.py and adds Lib/test/test_cgi_post_qs.py to test the new features. This should be closed by now, but

[issue1817] module-cgi: handling GET and POST together

2008-02-23 Thread Alexandre Fiori
Alexandre Fiori added the comment: Here's the unit test for patched cgi module. There are three tests: one for HTML POST forms that are urlencoded, and two for multipart/form-data - with and without file upload. Added file: http://bugs.python.org/file9507/cgitest.py

[issue1817] module-cgi: handling GET and POST together

2008-01-20 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Library (Lib) priority: -> normal type: -> rfe __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-

[issue1817] module-cgi: handling GET and POST together

2008-01-15 Thread Alexandre Fiori
Alexandre Fiori added the comment: Now I added support for parsing query string within multipart/*. The only issue now is that it mixes FieldStorage with MiniFieldStorage. However, I don't think it's a problem. Added file: http://bugs.python.org/file9180/cgy.py.patch-1 _

[issue1817] module-cgi: handling GET and POST together

2008-01-12 Thread Alexandre Fiori
Alexandre Fiori added the comment: Here it is, babe. I've made appropriate changes to make it read QUERY_STRING when it's available within POST method. It's currently being parsed by parse_qsl() in read_urlencoded() as it should be in regular GET or POST. I didn't touch CONTENT_LENGTH since it ha

[issue1817] module-cgi: handling GET and POST together

2008-01-12 Thread Guido van Rossum
Guido van Rossum added the comment: Well, what are you waiting for? Submit a patch! -- keywords: +easy nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __ _

[issue1817] module-cgi: handling GET and POST together

2008-01-12 Thread Alexandre Fiori
New submission from Alexandre Fiori: It looks like module-cgi cannot handle GET and POST together when using FieldStorage. For instance, a is available through cgi.FormContent but not cgi.FieldStorage when there are other in the html form. Very strange. -- messages: 59848 nosy: alef13