Mercurial > public > mercurial-scm > hg
diff mercurial/httprepo.py @ 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 | 2e1a9b811d13 |
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: