From: Cameron Dale Date: Thu, 24 Apr 2008 04:41:38 +0000 (-0700) Subject: Fix a typo in commit 80399176ed66d. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b8e34cf19e0fca0443497ae461cb1b27a0d94b19;p=quix0rs-apt-p2p.git Fix a typo in commit 80399176ed66d. --- diff --git a/apt_p2p/PeerManager.py b/apt_p2p/PeerManager.py index 31d9261..deeb668 100644 --- a/apt_p2p/PeerManager.py +++ b/apt_p2p/PeerManager.py @@ -577,7 +577,7 @@ class FileDownload: headers = {} if response.headers.hasHeader('last-modified'): headers['last-modified'] = response.headers.getHeader('last-modified') - resp = Response(200, {}, self.stream) + resp = Response(200, headers, self.stream) df.callback(resp) # Read the response stream to the file diff --git a/test.py b/test.py index 314a21b..b6a3ec8 100755 --- a/test.py +++ b/test.py @@ -401,7 +401,7 @@ Debug pkgInitialize "false"; // This one will dump the configuration space NoLocking "false"; Acquire::Ftp "false"; // Show ftp command traffic - Acquire::Http "true"; // Show http command traffic + Acquire::Http "false"; // Show http command traffic Acquire::gpgv "false"; // Show the gpgv traffic aptcdrom "false"; // Show found package files IdentCdrom "false";