--- a/mercurial/httprepo.py Wed Jan 16 19:14:54 2008 +0330
+++ b/mercurial/httprepo.py Wed Jan 23 14:28:25 2008 +0100
@@ -343,7 +343,7 @@
version = proto.split('-', 1)[1]
version_info = tuple([int(n) for n in version.split('.')])
except ValueError:
- raise repo.RepoError(_("'%s' sent a broken Content-type "
+ raise repo.RepoError(_("'%s' sent a broken Content-Type "
"header (%s)") % (self._url, proto))
if version_info > (0, 1):
raise repo.RepoError(_("'%s' uses newer protocol %s") %
@@ -428,7 +428,7 @@
try:
rfp = self.do_cmd(
'unbundle', data=fp,
- headers={'content-type': 'application/octet-stream'},
+ headers={'Content-Type': 'application/octet-stream'},
heads=' '.join(map(hex, heads)))
try:
ret = int(rfp.readline())