client lib create_object appends hashmap parameter incase of detailed (json/xml)...
[pithos] / tools / lib / client.py
index d0c2fc4..52ac0e5 100644 (file)
@@ -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,