changeset 10526:72d3a02c62e6 stable

httprepo: send Content-Type instead of content-type
author Sune Foldager <cryo@cyanite.org>
date Mon, 22 Feb 2010 23:12:12 -0500
parents cc2d296c1d4c
children 9c0ba837dc65
files mercurial/httprepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: