# HG changeset patch # User Sune Foldager # Date 1266898332 18000 # Node ID 72d3a02c62e6898d04b0159843e9c56dacc3ea8e # Parent cc2d296c1d4c33146d29ec6ed742f7fa08d78ed3 httprepo: send Content-Type instead of content-type diff -r cc2d296c1d4c -r 72d3a02c62e6 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: