Size of a remote URL

Justin justin__devine at hotmail.com
Mon Aug 30 11:04:53 EDT 2004


I am attempting to create a tuple of file sizes from a list or URLs.
Unfortunately not all files are returned with a "Content-Length"
header.  Does anybody knwo a more absolute or reliable way to get the
size of a remote file through its URL?  Possibly a lower level http
request than simply reading the MIME headers?  Thanks to anyone who has
a suggestion

-Justin




More information about the Python-list mailing list