Fix a typo in commit 80399176ed66d.
authorCameron Dale <camrdale@gmail.com>
Thu, 24 Apr 2008 04:41:38 +0000 (21:41 -0700)
committerCameron Dale <camrdale@gmail.com>
Thu, 24 Apr 2008 04:41:38 +0000 (21:41 -0700)
apt_p2p/PeerManager.py
test.py

index 31d9261..deeb668 100644 (file)
@@ -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 (executable)
--- 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";