# HG changeset patch # User Sune Foldager # Date 2010-02-23 04:12:12 # Node ID 72d3a02c62e6898d04b0159843e9c56dacc3ea8e # Parent cc2d296c1d4c33146d29ec6ed742f7fa08d78ed3 httprepo: send Content-Type instead of content-type diff --git a/mercurial/httprepo.py b/mercurial/httprepo.py --- a/mercurial/httprepo.py +++ b/mercurial/httprepo.py @@ -231,7 +231,7 @@ class httprepository(repo.repository): 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: