diff -r 39e2b2d062c1 -r 493034cc3265 mercurial/hgweb/server.py --- a/mercurial/hgweb/server.py Thu Jul 18 12:03:29 2024 +0200 +++ b/mercurial/hgweb/server.py Thu Jul 18 12:36:12 2024 +0200 @@ -66,7 +66,6 @@ class _httprequesthandler(httpservermod.basehttprequesthandler): - url_scheme = b'http' @staticmethod @@ -358,7 +357,6 @@ class MercurialHTTPServer(_mixin, httpservermod.httpserver, object): - # SO_REUSEADDR has broken semantics on windows if pycompat.iswindows: allow_reuse_address = 0 @@ -396,7 +394,6 @@ def create_server(ui, app): - if ui.config(b'web', b'certificate'): handler = _httprequesthandlerssl else: