CGI File Uploads and Progress Bars

Diez B. Roggisch deets at
Thu Sep 8 10:09:05 CEST 2005

> So, bottom line: Does anyone know how to get the size of the incoming file
> data without reading the whole thing into a string?  Can I do something with
> content_header?

It seems that _maybe_ you can use the content-length http header. But it 
looks as if it's not mandatory in this case - and of course uploading 
multiple files will only allow for an overall percentage.


More information about the Python-list mailing list