Colin Fox
cfox at cfconsulting.ca
Sat Jan 31 09:14:25 EST 2004
-----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-----
|