From b8e34cf19e0fca0443497ae461cb1b27a0d94b19 Mon Sep 17 00:00:00 2001 From: Cameron Dale Date: Wed, 23 Apr 2008 21:41:38 -0700 Subject: [PATCH] Fix a typo in commit 80399176ed66d. --- apt_p2p/PeerManager.py | 2 +- test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"; -- 2.39.5