]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - apt_p2p/PeerManager.py
Fix a typo in commit 80399176ed66d.
[quix0rs-apt-p2p.git] / apt_p2p / PeerManager.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