diff mercurial/wireprotoserver.py @ 36223:2e07dc514073

wireprotoserver: add version to HTTP protocol name (API) This matches what we did for the SSH protocol handler in ac33dc94e1d5. .. api:: HTTP protocol handlers now advertises its internal name as ``http-v1`` instead of ``http``. Differential Revision: https://phab.mercurial-scm.org/D2219
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 12 Feb 2018 17:20:20 -0800
parents 6ba5b03f3645
children 72812ad205d1
line wrap: on
line diff
--- a/mercurial/wireprotoserver.py	Mon Feb 12 17:19:51 2018 -0800
+++ b/mercurial/wireprotoserver.py	Mon Feb 12 17:20:20 2018 -0800
@@ -112,7 +112,7 @@
 
     @property
     def name(self):
-        return 'http'
+        return 'http-v1'
 
     def getargs(self, args):
         knownargs = self._args()