##// END OF EJS Templates
lfs: add the 'Content-Type' header called out in the file transfer spec...
Matt Harbison -
r37260:3e293808 default
parent child Browse files
Show More
@@ -332,6 +332,7 b' class _gitlfsremote(object):'
332 hint=_('run hg verify'))
332 hint=_('run hg verify'))
333 request.data = filewithprogress(localstore.open(oid), None)
333 request.data = filewithprogress(localstore.open(oid), None)
334 request.get_method = lambda: 'PUT'
334 request.get_method = lambda: 'PUT'
335 request.add_header('Content-Type', 'application/octet-stream')
335
336
336 for k, v in headers:
337 for k, v in headers:
337 request.add_header(k, v)
338 request.add_header(k, v)
General Comments 0
You need to be logged in to leave comments. Login now