Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35314

RE: Question regarding mod_python and a script for web.

From John Pennington <johnpen1@hotmail.com>
Subject RE: Question regarding mod_python and a script for web.
Date 2012-12-21 11:21 -0800
References <CAFNjT-=OHcXMbFavwNtVFn6VDrkFLBkqbuE9KjFfOjKgnXhEJg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1165.1356117739.29569.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Ion thanks a bunch, for responding. The problem we seem to be running into is that  When we change the
forms to a post instead of a get I cannot pick up the post values using cgi:

 

page_info = cgi.FieldStorage()
is this a limitation of mod_python?
Thanks.
john
Date: Thu, 20 Dec 2012 17:59:42 -0800
Subject: Re: Question regarding mod_python and a script for web.
From: ian.douglas@iandouglas.com
To: johnpen1@hotmail.com
CC: python-list@python.org

Short answer: Use the POST method on the form instead of GET. Depending how you process the form you might need to make a few changes to the script that answers the request. 		 	   		  

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE: Question regarding mod_python and a script for web. John Pennington <johnpen1@hotmail.com> - 2012-12-21 11:21 -0800

csiph-web