##// END OF EJS Templates
httprepo: use content-type application/mercurial-0.1 for POST...
Sune Foldager -
r10525:cc2d296c stable
parent child Browse files
Show More
@@ -231,7 +231,7 b' class httprepository(repo.repository):'
231 try:
231 try:
232 resp = self.do_read(
232 resp = self.do_read(
233 'unbundle', data=fp,
233 'unbundle', data=fp,
234 headers={'Content-Type': 'application/octet-stream'},
234 headers={'content-type': 'application/mercurial-0.1'},
235 heads=' '.join(map(hex, heads)))
235 heads=' '.join(map(hex, heads)))
236 resp_code, output = resp.split('\n', 1)
236 resp_code, output = resp.split('\n', 1)
237 try:
237 try:
General Comments 0
You need to be logged in to leave comments. Login now