Skip to content

Support custom S3 conditional put headers#730

Closed
Herrtian wants to merge 1 commit into
apache:mainfrom
Herrtian:alibaba-oss-conditional-put
Closed

Support custom S3 conditional put headers#730
Herrtian wants to merge 1 commit into
apache:mainfrom
Herrtian:alibaba-oss-conditional-put

Conversation

@Herrtian
Copy link
Copy Markdown

Closes #416.

Adds a custom-header mode for S3 conditional puts, so S3-compatible stores can wire PutMode::Create to headers such as x-oss-forbid-overwrite: true. Conflict responses continue to surface as AlreadyExists.

Checks:

  • cargo fmt --check
  • cargo test --features aws parse_s3_conditional_put_header --lib
  • cargo test --features aws put_create_ --lib
  • cargo clippy --features aws --lib -- -D warnings
  • git diff --check

@Herrtian Herrtian closed this by deleting the head repository May 21, 2026
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.

Support PutMode::Create for Alibaba OSS

1 participant