branch | stable |
changeset 10525 | cc2d296c1d4c |
parent 10491 | d7e582cab6b6 |
child 10526 | 72d3a02c62e6 |
--- a/mercurial/httprepo.py Mon Feb 22 22:55:58 2010 +0100 +++ b/mercurial/httprepo.py Mon Feb 22 16:28:57 2010 +0100 @@ -231,7 +231,7 @@ try: resp = self.do_read( 'unbundle', data=fp, - headers={'Content-Type': 'application/octet-stream'}, + headers={'content-type': 'application/mercurial-0.1'}, heads=' '.join(map(hex, heads))) resp_code, output = resp.split('\n', 1) try: