cgi: getting at raw POST data?

Tim Roberts timr at probo.com
Sun Feb 27 02:27:48 EST 2005


"Erik Johnson" <nobody at anywhere dot com> wrote:
>
>I am trying to work with a program that is trying make an HTTP POST of text
>data without any named form parameter. (I don't know - is that a normal
>thing to do?) I need to write a CGI program that accepts and processes that
>data. I'm not seeing how to get at data that's not a named form parameter.

If you are using POST in some non-standard way, just skip using the cgi
module at all and read stdin yourself.
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list