Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add operation to abort multipart upload #784

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ad-m
Copy link
Contributor

@ad-m ad-m commented Oct 23, 2021

I have noted missing operation to abort multipart upload. That operation does not have response, so it's very easy to implement.

Comment on lines +815 to +819
await ctx.store.abortUpload(
ctx.params.bucket,
ctx.params.key,
ctx.query.uploadId,
ctx.headers,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why to pass unused (key & headers) ?

ctx.query.uploadId,
ctx.headers,
);
ctx.body = '';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will need to set status too (204)

@ferhatelmas
Copy link

@jamhall is it possible to make a release with this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants