diff mercurial/httpclient/_readers.py @ 29442:456609cbd840

httpclient: update to 54868ef054d2 of httpplus As of that revision, httpplus fully supports Python 3, including mimicing all the subtle behavior changes around headers in Python 3's http.client.
author Augie Fackler <raf@durin42.com>
date Mon, 27 Jun 2016 11:53:50 -0400
parents 8a66eda46c98
children
line wrap: on
line diff
--- a/mercurial/httpclient/_readers.py	Mon Jun 27 20:44:14 2016 +0900
+++ b/mercurial/httpclient/_readers.py	Mon Jun 27 11:53:50 2016 -0400
@@ -98,7 +98,7 @@
             need -= len(b)
             if need == 0:
                 break
-        result = ''.join(blocks)
+        result = b''.join(blocks)
         assert len(result) == amt or (self._finished and len(result) < amt)
 
         return result