diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2025-11-20 11:42:22 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-20 11:42:22 -0800 |
| commit | 5f77f8733511d6d2bc4f47df7c477c4f9c25a727 (patch) | |
| tree | 10c58807bcba42022c8ccb6df44f181297d2b40a /weed/s3api/s3_constants/header.go | |
| parent | 6281e62d7f6cfbc6632de05829897bbd0fd2c992 (diff) | |
| download | seaweedfs-5f77f8733511d6d2bc4f47df7c477c4f9c25a727.tar.xz seaweedfs-5f77f8733511d6d2bc4f47df7c477c4f9c25a727.zip | |
S3: S3 Object Retention API to include XML namespace support (#7517)
* Refactor S3 Object Retention API to include XML namespace support and improve compatibility with Veeam. Updated XML tags to remove hardcoded namespaces and added test cases for retention and legal hold configurations without namespaces.
* Added XMLNS field setting in both places
Diffstat (limited to 'weed/s3api/s3_constants/header.go')
| -rw-r--r-- | weed/s3api/s3_constants/header.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/weed/s3api/s3_constants/header.go b/weed/s3api/s3_constants/header.go index e4c0ad77b..1ef6f62c5 100644 --- a/weed/s3api/s3_constants/header.go +++ b/weed/s3api/s3_constants/header.go @@ -23,6 +23,11 @@ import ( "github.com/gorilla/mux" ) +// S3 XML namespace +const ( + S3Namespace = "http://s3.amazonaws.com/doc/2006-03-01/" +) + // Standard S3 HTTP request constants const ( // S3 storage class |
