'Upload an object.
Note: This will override file with a same name if it already exists.'

def upload_object(self, file_path, container, object_name, extra=None, verify_hash=True, headers=None):

    with open(file_path, 'rb') as fp:
        iterator = iter(fp)
        iterator = read_in_chunks(iterator=iterator)
        data = exhaust_iterator(iterator=iterator)
    obj = self._perform_upload(data=data, container=container, object_name=object_name, extra=extra, verify_hash=verify_hash, headers=headers)
    return obj
