mercurial/hgweb/hgweb_mod.py
changeset 2442 c660691fb45d
parent 2436 f910b91dd912
child 2464 09b1c9ef317c
--- a/mercurial/hgweb/hgweb_mod.py
+++ b/mercurial/hgweb/hgweb_mod.py
@@ -833,3 +833,9 @@ class hgweb(object):
                                                   "static"))
         req.write(staticfile(static, fname)
                   or self.t("error", error="%r not found" % fname))
+
+    def do_capabilities(self, req):
+        resp = ''
+        req.httphdr("application/mercurial-0.1", length=len(resp))
+        req.write(resp)
+