]> git.mxchange.org Git - quix0rs-apt-p2p.git/commit
Remove some headers Apt sets before returning full requests from the server.
authorCameron Dale <camrdale@gmail.com>
Fri, 18 Apr 2008 01:15:35 +0000 (18:15 -0700)
committerCameron Dale <camrdale@gmail.com>
Fri, 18 Apr 2008 01:15:35 +0000 (18:15 -0700)
commit882106d0e49e52164a898c1cc9f36d229b4257ac
tree05d3bc9fd986267ed25cbaf9bb65c03ecb69be90
parent297459dc70c104886d3c1794894539aa9ea26c4d
Remove some headers Apt sets before returning full requests from the server.

Otherwise the streaming will be interrupted or changed by Twisted's
modification of responses before sending (e.g. sending 304's based
on 'If-Modified-Since' and 'Last-Modified' headers). The streaming
is currently needed though to load the file in the cache.
apt_p2p/apt_p2p.py