diff mercurial/hgweb.py @ 753:8760d0c83b9b

Check protocol versions This also allows the old unidentified protocol
author mpm@selenic.com
date Thu, 21 Jul 2005 18:20:13 -0500
parents 0b245edec124
children 0108c602feb9 1fe3b14c7044 9c918287d10b
line wrap: on
line diff
--- a/mercurial/hgweb.py	Thu Jul 21 18:19:20 2005 -0500
+++ b/mercurial/hgweb.py	Thu Jul 21 18:20:13 2005 -0500
@@ -670,7 +670,7 @@
                 sys.stdout.write(" ".join(map(hex, b)) + "\n")
 
         elif args['cmd'][0] == 'between':
-            httphdr("application/hg-0.1")
+            httphdr("application/mercurial-0.1")
             nodes = []
             if args.has_key('pairs'):
                 pairs = [ map(bin, p.split("-"))