equal
deleted
inserted
replaced
539 # an HTTPS URL, we'll likely fail due to unknown protocol. |
539 # an HTTPS URL, we'll likely fail due to unknown protocol. |
540 |
540 |
541 else: |
541 else: |
542 handlers.append(httphandler(timeout=timeout)) |
542 handlers.append(httphandler(timeout=timeout)) |
543 if has_https: |
543 if has_https: |
544 handlers.append(httpshandler(ui, timeout=timeout)) |
544 # pytype get confused about the conditional existence for httpshandler here. |
|
545 handlers.append( |
|
546 httpshandler(ui, timeout=timeout) # pytype: disable=name-error |
|
547 ) |
545 |
548 |
546 handlers.append(proxyhandler(ui)) |
549 handlers.append(proxyhandler(ui)) |
547 |
550 |
548 passmgr = passwordmgr(ui, ui.httppasswordmgrdb) |
551 passmgr = passwordmgr(ui, ui.httppasswordmgrdb) |
549 if authinfo is not None: |
552 if authinfo is not None: |