Size of a remote URL

Justin justin__devine at
Mon Aug 30 17:04:53 CEST 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


More information about the Python-list mailing list