Support pool of multithreaded downloaders
commit2100c652a63517601894efbe1ca8a64f8fee0d02
authorAleksey Lim <alsroot@sugarlabs.org>
Fri, 28 Oct 2011 20:11:05 +0000 (28 20:11 +0000)
committerThomas Leonard <talex5@gmail.com>
Sun, 18 Dec 2011 12:01:57 +0000 (18 12:01 +0000)
tree0b72f8fe8458ffe9fe83ca59c2afe76c1ba6155a
parent038d99a818070b338c85fd55515788ceafcffc65
Support pool of multithreaded downloaders

* use httplib for HTTP with supporting persistence connections and falback
  to urllib2 otherwise
* do not reset tmpfile in Downloader to prevent race conditions
* use dns resolving cache
tests/basetest.py
zeroinstall/injector/download.py
zeroinstall/injector/wget.py [new file with mode: 0644]