Re: Urllib keyerror, confused

2008-02-02 Thread Navtej Singh
possibly the server did not sent the 'Content-Length' header. On Feb 2, 2008 5:18 PM, Adam W. <[EMAIL PROTECTED]> wrote: > I took this script: > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/83208 > And decided to try it out, it works when I first download a file, and > when I try to re

Urllib keyerror, confused

2008-02-02 Thread Adam W.
I took this script: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/83208 And decided to try it out, it works when I first download a file, and when I try to resume a downloaded file, but if the file is already downloaded, and I expect to see the print "File already downloaded" message com