mercurial/httprepo.py
changeset 6787 dbb00e91c327
parent 6313 c5580db9c3aa
child 7010 9141bebefe3e
--- a/mercurial/httprepo.py	Sun Jun 29 22:47:57 2008 +0200
+++ b/mercurial/httprepo.py	Sun Jun 29 23:02:02 2008 +0200
@@ -268,6 +268,7 @@
 
         # 1.0 here is the _protocol_ version
         opener.addheaders = [('User-agent', 'mercurial/proto-1.0')]
+        opener.addheaders.append(('Accept', 'application/mercurial-0.1'))
         urllib2.install_opener(opener)
 
     def url(self):