"Content-Length" header

Peter Kleiweg in.aqua.scribis at nl.invalid
Mon Aug 30 16:31:59 EDT 2004


Justin schreef:


> (THIS DOESN't)
> for y in linklisttype:
> x = y
> temp = urlopen(x)
> print temp
> temp2 = temp.info()
> print temp2
> temp3 = temp2.getheader("Content-Length")
> print temp3

You need to indent the lines following the 'for' statement.


-- 
Peter Kleiweg  L:NL,af,da,de,en,ia,nds,no,sv,(fr,it)  S:NL,de,en,(da,ia)
info: http://www.let.rug.nl/~kleiweg/ls.html




More information about the Python-list mailing list