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.

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <johnpen1@hotmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.084
X-Spam-Evidence '*H*': 0.83; '*S*': 0.00; 'subject:Question': 0.07; 'get.': 0.09; 'subject:script': 0.09; 'cc:addr:python-list': 0.10; 'dec': 0.15; 'subject:mod_python': 0.16; 'thu,': 0.17; 'changes': 0.20; 'thanks.': 0.21; 'cc:2**0': 0.23; 'script': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'values': 0.26; 'question': 0.27; 'post': 0.28; 'date:': 0.29; 'web.': 0.30; 'running': 0.32; 'subject:regarding': 0.33; 'problem': 0.33; 'thanks': 0.34; 'subject:': 0.36; 'limitation': 0.36; 'email addr:python.org': 0.36; 'method': 0.36; 'subject:: ': 0.38; 'from:': 0.38; 'instead': 0.39; 'short': 0.39; 'john': 0.60; 'received:65.55.90': 0.62; 'received:snt0.hotmail.com': 0.62; 'email name:python-list': 0.62; 'request.': 0.64; 'answer:': 0.84; 'ion': 0.84; 'received:65.55.90.135': 0.84; 'responding.': 0.84; 'email addr:hotmail.com': 0.88
X-EIP [GWcIKCTgyynEtqL4o6GceWXg0bHE2QCw]
X-Originating-Email [johnpen1@hotmail.com]
Content-Type multipart/alternative; boundary="_61bc8e0a-b8c8-4f4c-bd8d-826682f08842_"
From John Pennington <johnpen1@hotmail.com>
To <ian.douglas@iandouglas.com>
Subject RE: Question regarding mod_python and a script for web.
Date Fri, 21 Dec 2012 11:21:09 -0800
Importance Normal
In-Reply-To <CAFNjT-=OHcXMbFavwNtVFn6VDrkFLBkqbuE9KjFfOjKgnXhEJg@mail.gmail.com>
References <CAFNjT-=OHcXMbFavwNtVFn6VDrkFLBkqbuE9KjFfOjKgnXhEJg@mail.gmail.com>
MIME-Version 1.0
X-OriginalArrivalTime 21 Dec 2012 19:21:10.0580 (UTC) FILETIME=[55879740:01CDDFB0]
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1165.1356117739.29569.python-list@python.org> (permalink)
Lines 66
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1356117739 news.xs4all.nl 6909 [2001:888:2000:d::a6]:56071
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:35314

Show key headers only | 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