httprepo: send Content-Type instead of content-type stable
authorSune Foldager <cryo@cyanite.org>
Mon, 22 Feb 2010 23:12:12 -0500
branchstable
changeset 10526 72d3a02c62e6
parent 10525 cc2d296c1d4c
child 10527 9c0ba837dc65
httprepo: send Content-Type instead of content-type
mercurial/httprepo.py
--- a/mercurial/httprepo.py	Mon Feb 22 16:28:57 2010 +0100
+++ b/mercurial/httprepo.py	Mon Feb 22 23:12:12 2010 -0500
@@ -231,7 +231,7 @@
             try:
                 resp = self.do_read(
                      'unbundle', data=fp,
-                     headers={'content-type': 'application/mercurial-0.1'},
+                     headers={'Content-Type': 'application/mercurial-0.1'},
                      heads=' '.join(map(hex, heads)))
                 resp_code, output = resp.split('\n', 1)
                 try: