[mod_python] Question #2

Patrick Percot ppercot at free.fr
Mon Jun 7 21:25:58 EDT 2004


On Mon, 07 Jun 2004 13:13:36 -0500, Jon-Pierre Gentil <jgentil at sebistar.net> wrote

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I wish to thank those who answered my original question.
> 
> I now have another.  When using the publisher handler, or anything else
> that uses FieldStorage,  how do I distinguish from POST and GET
> parameters?  It is vital that I do so.  Will I have to manually
> read/parse the URL for GET parameters, and manually re-read from the
> client and parse the POST parameters? 

Use req.method to get the method. 

À+
PP
-- 
Groupe Morbihannais d'Utilisateurs de Logiciels Libres http://www.tuxbihan.org
Identifiant Jabber: pp at amessage.de
GPG fingerprint = 1A4F E154 3D2C A20E E4CA  A543 7951 C5C2 E44A A0B5

Patrick Percot.



More information about the Mod_python mailing list