cgi.parse from stdin problem

newbie spam at pleasedontspam.de
Mon Jan 28 09:45:09 EST 2002


>  > stdin supplies the data in `item1=value1&item2=value2' format.
>
> I believe that you should pass it as one big string. Not lines, like you
do.

Perhaps I should have also added that there are many lines like the above
coming from stdin (like cat file | myscript). Each line is complete with all
of its value pairs, and each line requires its own iteration. A bit like a
batch process.





More information about the Python-list mailing list