Commit f98758aa authored by Sofia Papagiannaki's avatar Sofia Papagiannaki

client lib create_object appends hashmap parameter incase of detailed (json/xml) resquest

parent b42091af
......@@ -789,6 +789,8 @@ class Pithos_Client(OOS_Client):
args = locals().copy()
for elem in ['self', 'container', 'object']:
args.pop(elem)
if format != 'text':
params.update({'hashmap':None})
return OOS_Client.create_object(self, container, object, **args)
def create_object_using_chunks(self, container, object,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment