[mod_python] GET works, but POST doesn't in mod_python

Ole Jacob Hagen waterthrill at yahoo.no
Tue Aug 10 09:11:55 EDT 2004


How can I use the FieldStorage-class for POST? It doesn't work as it 
does with GET.

Cheers,

Ole J.

Jon-Pierre Gentil wrote:

> Ole Jacob Hagen wrote:
>
>
> >Why doesn't POST works? It seems that the POST message is stored, since
> >the length of string is 28....
> >How can I retrieve it?
>
>
> req.read will read POST variables, but not GET varibles.  to get GET
> variables, you need to parse the original URL..
>
> Its better just to use the FieldStorage class.  :D





More information about the Mod_python mailing list