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 31d926168954c953c4ef3a6a314462c34a8a4693..deeb668a54c4ae670a4e501c5e106fe7b6a300ff 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 314a21b961ae408a4ea69980cd401a8bb6529eac..b6a3ec838ec35fb392f8cc27c45ffd75b17f882f 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";