Handle HTTP redirects manually
commit85a3135d8acf9d3b75d1905746b91b69400dd8e7
authorThomas Leonard <talex5@gmail.com>
Sun, 18 Dec 2011 15:10:45 +0000 (18 15:10 +0000)
committerThomas Leonard <talex5@gmail.com>
Sun, 18 Dec 2011 16:43:44 +0000 (18 16:43 +0000)
treebfdb2afed73350de64aa24368eeda6962850b8ad
parent1f72f624a8b6cb3cd4b579dc2333e65aa73b4f4d
Handle HTTP redirects manually

Instead of having the download threads follow redirects, report them back to the
main thread and let it deal with them. This will be needed to support connection
pooling, since the download may need to be tranferred to another thread.
zeroinstall/injector/_download_child.py
zeroinstall/injector/download.py