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

Gregory (Grisha) Trubetskoy grisha at modpython.org
Sat Jan 31 21:40:06 EST 2004


I believe clength applies only to the stuff going out not coming in.

Grisha

On Sat, 31 Jan 2004, Colin Fox wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Mark McClain wrote:
> | You want to use a combination of:
> |
> | req.clength member and req.read() method look at the request object
> | documentation for more information.
> |
> | mark
>
> Interestingly, req.clength is 0 - I have to get the length to read by:
> len = int(req.headers_in['Content-Length'])
>
> Is clength cleared after some operation (but before the read), or is
> there a bug here?
>
> 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
>
> iD8DBQFAG+JxoaQ1/feGlJoRAkZ3AKCLy0UB7+F7o3vlXOPazVP4qq7R3wCfe6OV
> 4hWhhH6GFcAPmLWIydZJXRw=
> =YY4F
> -----END PGP SIGNATURE-----
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list