s3: report http.StatusOK if the directory is explicitly created

fix https://github.com/seaweedfs/seaweedfs/issues/3457
This commit is contained in:
chrislu
2022-08-23 01:16:46 -07:00
parent 911475526c
commit 9fce75607d
3 changed files with 12 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ const (
AmzObjectTaggingPrefix = "X-Amz-Tagging-"
AmzObjectTaggingDirective = "X-Amz-Tagging-Directive"
AmzTagCount = "x-amz-tagging-count"
X_SeaweedFS_Header_Directory_Key = "x-seaweedfs-is-directory-key"
)
// Non-Standard S3 HTTP request constants