Question regarding mod_python and a script for web.

John Pennington johnpen1 at hotmail.com
Fri Dec 21 20:21:09 CET 2012


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 at iandouglas.com
To: johnpen1 at hotmail.com
CC: python-list at 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. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20121221/2b50b0b6/attachment.html>


More information about the Python-list mailing list