Mercurial > public > mercurial-scm > hg-stable
diff mercurial/wireprotoserver.py @ 37644:77c9ee77687c
wireproto: rename HTTPV2 so it less like HTTP/2
Per review suggestion on D3230 from Augie.
Differential Revision: https://phab.mercurial-scm.org/D3295
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 11 Apr 2018 18:15:51 -0700 |
parents | 9170df9106a8 |
children | 9d818539abfa |
line wrap: on
line diff
--- a/mercurial/wireprotoserver.py Fri Apr 13 11:21:55 2018 -0700 +++ b/mercurial/wireprotoserver.py Wed Apr 11 18:15:51 2018 -0700 @@ -307,7 +307,7 @@ # Callable receiving (req, repo) that is called to obtain an API # descriptor for this service. The response must be serializable to CBOR. API_HANDLERS = { - wireprotov2server.HTTPV2: { + wireprotov2server.HTTP_WIREPROTO_V2: { 'config': ('experimental', 'web.api.http-v2'), 'handler': wireprotov2server.handlehttpv2request, 'apidescriptor': wireprotov2server.httpv2apidescriptor,