'Aborts an already initiated multipart upload
:param object_path: Server side object path.
:type object_path: ``str``
:param upload_id: ID of the multipart upload.
:type upload_id: ``str``
:keyword container: The container owning the object to which data is
being uploaded
:type container: :class:`Container`'

def _abort_multipart(self, object_path, upload_id, container=None):

    params = {'uploadId': upload_id}
    request_path = '?'.join((object_path, urlencode(params)))
    resp = self.connection.request(request_path, method='DELETE', container=container)
    if (resp.status != httplib.NO_CONTENT):
        raise LibcloudError(('Error    in    multipart    abort.    status_code=%d' % resp.status), driver=self)
