##// END OF EJS Templates
wireprotoserver: rename webproto to httpv1protocolhandler...
Gregory Szorc -
r36240:6ba5b03f default
parent child Browse files
Show More
@@ -105,7 +105,7 b' def decodevaluefromheaders(req, headerpr'
105
105
106 return ''.join(chunks)
106 return ''.join(chunks)
107
107
108 class webproto(baseprotocolhandler):
108 class httpv1protocolhandler(baseprotocolhandler):
109 def __init__(self, req, ui):
109 def __init__(self, req, ui):
110 self._req = req
110 self._req = req
111 self._ui = ui
111 self._ui = ui
@@ -201,7 +201,7 b' def parsehttprequest(repo, req, query):'
201 if cmd not in wireproto.commands:
201 if cmd not in wireproto.commands:
202 return None
202 return None
203
203
204 proto = webproto(req, repo.ui)
204 proto = httpv1protocolhandler(req, repo.ui)
205
205
206 return {
206 return {
207 'cmd': cmd,
207 'cmd': cmd,
General Comments 0
You need to be logged in to leave comments. Login now