mercurial/url.py
changeset 50614 ecaf00089461
parent 50318 3bb7c56e8fe6
child 50925 13eab1a5db78
equal deleted inserted replaced
50613:ae2de4cb7869 50614:ecaf00089461
   188             orgsend(self, data)
   188             orgsend(self, data)
   189 
   189 
   190     return _sendfile
   190     return _sendfile
   191 
   191 
   192 
   192 
   193 has_https = util.safehasattr(urlreq, b'httpshandler')
   193 has_https = util.safehasattr(urlreq, 'httpshandler')
   194 
   194 
   195 
   195 
   196 class httpconnection(keepalive.HTTPConnection):
   196 class httpconnection(keepalive.HTTPConnection):
   197     # must be able to send big bundle as stream.
   197     # must be able to send big bundle as stream.
   198     send = _gen_sendfile(keepalive.HTTPConnection.send)
   198     send = _gen_sendfile(keepalive.HTTPConnection.send)