[mod_python] Vampire/mod_python determining type of argument - GET/POST

Brandon N woodsman at gmail.com
Tue Nov 29 14:54:14 EST 2005


I didn't realize it had to be either get or post, but I suppose that makes
sense.

Thanks a lot.

On 11/29/05, Graham Dumpleton <grahamd at dscpl.com.au> wrote:
>
> Regardless of whether Vampire is used or not, whether GET or POST is
> used
> can be determined using "req.method". See request object
> documentation on
> mod_python site.
>
> On 30/11/2005, at 6:38 AM, Brandon N wrote:
>
> > I've been wondering, when using Vampire/mod_python, how one
> > determines whether a form argument came over GET or POST.
> > I'm using:
> > self._args = vampire.processForm( req )
> > to get the argument dictionary, and I'm not certain that there are
> > complementary functions or alternate ones to find this out.
> >
> > I ask because, as I understand it, the "rule" about GET not being
> > able to change state means I have to be wary of GETs for various
> > tasks (where a user might embed certain information in a link and
> > share it with unsuspecting others).
> >
> > Thanks in advance for any insight,
> > Brandon
> > _______________________________________________
> > Mod_python mailing list
> > Mod_python at modpython.org
> > http://mailman.modpython.org/mailman/listinfo/mod_python
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20051129/4ace9c11/attachment.html


More information about the Mod_python mailing list