CGI: POST and GET
Will Stuyvesant
hwlgw at hotmail.com
Sun Feb 9 07:46:29 EST 2003
[printf_nemesis at hotmail.com]
> Is it possible to retrieve specifically POST or GET method information
> ? Does cgi.FieldStorage() have a method for that ? And if its not
> possible, thats a big security issue, any other form of security ?
Check the environment variable QUERY_STRING to see if it was a GET
request. E.g. use os.environ.
--
Vests are to suits as seat-belts are to cars.
More information about the Python-list
mailing list