changeset 17836 | 98347af64593 |
parent 17787 | 21503aa02d4f |
child 19809 | 50d721553198 |
--- a/mercurial/httpconnection.py Mon Oct 08 23:49:36 2012 +0900 +++ b/mercurial/httpconnection.py Thu Oct 18 23:55:15 2012 -0500 @@ -234,7 +234,9 @@ if req.get_full_url().startswith('https'): return self.https_open(req) def makehttpcon(*args, **kwargs): - return HTTPConnection(*args, use_ssl=False, **kwargs) + k2 = dict(kwargs) + k2['use_ssl'] = False + return HTTPConnection(*args, **k2) return self.do_open(makehttpcon, req, False) def https_open(self, req):