fix: exclude content-length and content-type from DeleteObject signed…#465
fix: exclude content-length and content-type from DeleteObject signed…#465r-oswald wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds an explicit no-op arm for ChangesDeleteObject header exclusion
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Brownian Motion (Brass)Recommendation: Proceed Summary: PR addresses header signing issue for DeleteObject requests effectively. Highlights
Unknowns
Next actions
Reflection questions
|
DeleteObjectis missing from the skip-list inrequest_trait.rsheaders(), so requests getcontent-length: 0andcontent-type: text/plainsigned.L7 proxies strip
Content-Length: 0per RFC 7230 §3.3.2 so you get a signature mismatch.So this merge request strips this header on delete request.
This change is
Summary by CodeRabbit