[mod_python] POST form data retrieval&In-Reply-To=

Colin Fox cfox at cfconsulting.ca
Sat Jan 31 00:56:34 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Khurram wrote:
| Please read the cgi source for handling form data. I think that would
be the
| best example.

I'm sorry - which cgi source? Something to do with mod_python, or cgis
in general?

I have CGIs already which handle form data. My problem is that I'm
trying to write a mod-python handler which can deal with form data, and
it doesn't work the way the CGI does.

In a FORM->POST, the Content-Length is set to the number of bytes in the
form data, and the CGI reads that much from stdin.

I tried that technique with my mod_python handler, and I get nothing.

Any suggestions?

cf

- --
Colin Fox
President, CF Consulting Inc.
cfox at cfconsulting.ca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAG23CoaQ1/feGlJoRApEZAKCK5kbKGbcHYwrI3LESW8GHfxk5DgCdHuy7
26QPbT4O8luLKVRXe9/T6wE=
=lgJp
-----END PGP SIGNATURE-----


More information about the Mod_python mailing list