My python still works when work resolves it ...
I request loading the internal webUI using a script that uses urllib2.urlopen . I am wondering how you can get the page content size from each request. I can't seem to figure this out.
urllib2.urlopen
Thanks in advance,
Mhibin
print len(urlopen(url).read())
or
>>> result = urllib2.urlopen('http://www.spiegel.de') >>> result.headers['content-length'] '181291'