Show More
@@ -105,7 +105,7 def decodevaluefromheaders(req, headerpr | |||||
105 |
|
105 | |||
106 | return ''.join(chunks) |
|
106 | return ''.join(chunks) | |
107 |
|
107 | |||
108 |
class |
|
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 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 = |
|
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