Revision b5b4441e kamaki/clients/pithos/__init__.py

b/kamaki/clients/pithos/__init__.py
1372 1372

  
1373 1373
        :returns: (dict) response headers
1374 1374
        """
1375
        ctype = self.get_object_info(obj)['content-type']
1375 1376
        r = self.object_post(
1376 1377
            obj,
1377 1378
            update=True,
1378 1379
            content_range='bytes 0-%s/*' % upto_bytes,
1379
            content_type='application/octet-stream',
1380
            content_type=ctype,
1380 1381
            object_bytes=upto_bytes,
1381 1382
            source_object=path4url(self.container, obj))
1382 1383
        return r.headers

Also available in: Unified diff