mercurial/keepalive.py
changeset 40031 f2dffa1359c6
parent 39816 1cf1680b0554
child 40032 dc82ad1b7f77
equal deleted inserted replaced
40030:62160d3077cd 40031:f2dffa1359c6
   613         return cls.getresponse(self)
   613         return cls.getresponse(self)
   614     safegetresponse.__doc__ = cls.getresponse.__doc__
   614     safegetresponse.__doc__ = cls.getresponse.__doc__
   615     return safegetresponse
   615     return safegetresponse
   616 
   616 
   617 class HTTPConnection(httplib.HTTPConnection):
   617 class HTTPConnection(httplib.HTTPConnection):
       
   618     # url.httpsconnection inherits from this. So when adding/removing
       
   619     # attributes, be sure to audit httpsconnection() for unintended
       
   620     # consequences.
       
   621 
   618     # use the modified response class
   622     # use the modified response class
   619     response_class = HTTPResponse
   623     response_class = HTTPResponse
   620     send = safesend
   624     send = safesend
   621     getresponse = wrapgetresponse(httplib.HTTPConnection)
   625     getresponse = wrapgetresponse(httplib.HTTPConnection)
   622 
   626