Merge "Software cli fails on upload --local command"
This commit is contained in:
commit
dff1a7e5ac
@ -363,7 +363,7 @@ class HTTPClient(httplib2.Http):
|
|||||||
if 'content_type' in kwargs:
|
if 'content_type' in kwargs:
|
||||||
kargs['headers']['Content-Type'] = kwargs['content_type']
|
kargs['headers']['Content-Type'] = kwargs['content_type']
|
||||||
kargs['headers']['Accept'] = kwargs['content_type']
|
kargs['headers']['Accept'] = kwargs['content_type']
|
||||||
else:
|
elif 'Content-Type' not in kargs['headers']:
|
||||||
kargs['headers']['Content-Type'] = self.content_type
|
kargs['headers']['Content-Type'] = self.content_type
|
||||||
kargs['headers']['Accept'] = self.content_type
|
kargs['headers']['Accept'] = self.content_type
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user