Skip to content

fix(s3): add missing if-none-match request field#7420

Open
dentiny wants to merge 1 commit intoapache:mainfrom
dentiny:hjiang/add-if-none-match
Open

fix(s3): add missing if-none-match request field#7420
dentiny wants to merge 1 commit intoapache:mainfrom
dentiny:hjiang/add-if-none-match

Conversation

@dentiny
Copy link
Copy Markdown
Contributor

@dentiny dentiny commented Apr 20, 2026

Which issue does this PR close?

Closes #7419

Rationale for this change

All request field in the S3 request should be supported.

What changes are included in this PR?

This PR adds missing if-none-match field in S3 requests.

Are there any user-facing changes?

No.

AI Usage Statement

Cursor helped me auto-complete code.

@dentiny dentiny requested a review from Xuanwo as a code owner April 20, 2026 23:08
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. releases-note/fix The PR fixes a bug or has a title that begins with "fix" labels Apr 20, 2026
req = req.header(IF_MATCH, if_match);
}

if let Some(if_none_match) = args.if_none_match() {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is wrong because AWS S3 doesn't support input except *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/fix The PR fixes a bug or has a title that begins with "fix" size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: if-not-match not supported in S3

2 participants