1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2025-08-29 15:32:48 +02:00
seaweedfs/weed/s3api/s3err
Chris Lu 34773c8e13
S3 API: conditional read and write (#7154)
* conditional put

* more tests

* check all conditions

* address comments

* conditional multipart complete

* conditional reads

Read Operations (GET, HEAD):
If-None-Match / If-Modified-Since failures → 304 Not Modified 
If-Match / If-Unmodified-Since failures → 412 Precondition Failed 
Write Operations (PUT, CompleteMultipartUpload):
All conditional failures → 412 Precondition Failed 
Copy Operations (CopyObject):
Copy-source conditionals → 412 Precondition Failed (already implemented) 

* test actual code

* Interface-Based Testing

* cleanup

* Testing Interface

* Update s3api_object_handlers_put.go

* refactor
2025-08-22 16:58:09 -07:00
..
audit_fluent.go fix: restore deletion audit of individual objects (#6644) 2025-03-18 05:01:54 -07:00
error_handler.go fix listing objects (#7008) 2025-07-22 01:07:15 -07:00
s3-error.go weed/s3api: added new bucket handlers for more compatibility with AWS S3 2022-02-03 17:17:05 +03:00
s3api_errors.go S3 API: conditional read and write (#7154) 2025-08-22 16:58:09 -07:00