##// END OF EJS Templates
git-lfs: report chunked encoding support properly to the client....
marcink -
r205:38f01b35 stable
parent child Browse files
Show More
@@ -88,9 +88,10 b' class OidHandler(object):'
88 88 log.debug('LFS: skipping further action as oid is existing')
89 89 return response, has_errors
90 90
91 chunked = ("Transfer-Encoding", "chunked")
91 92 upload_action = OrderedDict(
92 93 href=self.obj_href,
93 header=OrderedDict([("Authorization", self.get_auth())])
94 header=OrderedDict([("Authorization", self.get_auth()), chunked])
94 95 )
95 96 if not has_errors:
96 97 response = OrderedDict(upload=upload_action)
@@ -142,7 +142,8 b' class TestLFSApplication(object):'
142 142 {u'authenticated': True,
143 143 u'actions': {
144 144 u'upload': {
145 u'header': {u'Authorization': u'Basic XXXXX'},
145 u'header': {u'Authorization': u'Basic XXXXX',
146 u'Transfer-Encoding': u'chunked'},
146 147 u'href': u'http://localhost/repo/info/lfs/objects/123'},
147 148 u'verify': {
148 149 u'header': {u'Authorization': u'Basic XXXXX'},
General Comments 0
You need to be logged in to leave comments. Login now