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

new feature: content-length header for presigned write #5299

Open
1 task done
xangelix opened this issue Nov 8, 2024 · 1 comment
Open
1 task done

new feature: content-length header for presigned write #5299

xangelix opened this issue Nov 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@xangelix
Copy link

xangelix commented Nov 8, 2024

Feature Description

S3's API supports signing the content-length and content-length-range headers https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html

Problem and Solution

This prevents an end-user from uploading some theoretical infinite amount of bytes using a presigned write.

Additional Context

I'm not sure what other services might support this.

Are you willing to contribute to the development of this feature?

  • Yes, I am willing to contribute to the development of this feature.
@xangelix xangelix added the enhancement New feature or request label Nov 8, 2024
@Xuanwo
Copy link
Member

Xuanwo commented Nov 8, 2024

Hi, @xangelix. Presign write is not implemented via POST, so I'm afraid we can't add such a restriction.

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

No branches or pull requests

2 participants