detecting GET or POST in a script?

Z 3 Penguin z3penguin at penguinpowered.com
Thu Aug 17 21:03:25 EDT 2000


n/m, i figured it out.

import os

print os.environ["REQUEST_METHOD"]

Z 3 Penguin wrote in message <8ni1h3$g45$1 at bob.news.rcn.net>...
>Is there any way to tell if the script was GETed or POSTed?
>




More information about the Python-list mailing list