wireprotoserver: rename webproto to httpv1protocolhandler
This matches our naming convention for the SSH server's protocol
handler.
Differential Revision: https://phab.mercurial-scm.org/D2218
--- a/mercurial/wireprotoserver.py Mon Feb 12 17:16:52 2018 -0800
+++ b/mercurial/wireprotoserver.py Mon Feb 12 17:19:51 2018 -0800
@@ -105,7 +105,7 @@
return ''.join(chunks)
-class webproto(baseprotocolhandler):
+class httpv1protocolhandler(baseprotocolhandler):
def __init__(self, req, ui):
self._req = req
self._ui = ui
@@ -201,7 +201,7 @@
if cmd not in wireproto.commands:
return None
- proto = webproto(req, repo.ui)
+ proto = httpv1protocolhandler(req, repo.ui)
return {
'cmd': cmd,