mercurial/wireprotoserver.py
changeset 36222 6ba5b03f3645
parent 36215 464bedc0fdb4
child 36223 2e07dc514073
--- 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,