feat: adds not implemented routes for bucket website actions

Closes #1450

Adds `NotImplemented` routes for bucket website S3 actions:
- `PutBucketWebsite`
- `GetBucketWebsite`
- `DeleteBucketWebsite`
This commit is contained in:
niksis02
2025-08-21 22:11:30 +04:00
parent 0895ada9ed
commit 14a2984d59
5 changed files with 115 additions and 0 deletions

View File

@@ -669,6 +669,10 @@ func TestNotImplementedActions(s *S3Conf) {
// bucket acceleration actions
PutBucketAccelerateConfiguration_not_implemented(s)
GetBucketAccelerateConfiguration_not_implemented(s)
// bucket website actions
PutBucketWebsite_not_implemented(s)
GetBucketWebsite_not_implemented(s)
DeleteBucketWebsite_not_implemented(s)
}
func TestWORMProtection(s *S3Conf) {
@@ -1438,6 +1442,9 @@ func GetIntTests() IntTests {
"GetBucketNotificationConfiguratio_not_implemented": GetBucketNotificationConfiguratio_not_implemented,
"PutBucketAccelerateConfiguration_not_implemented": PutBucketAccelerateConfiguration_not_implemented,
"GetBucketAccelerateConfiguration_not_implemented": GetBucketAccelerateConfiguration_not_implemented,
"PutBucketWebsite_not_implemented": PutBucketWebsite_not_implemented,
"GetBucketWebsite_not_implemented": GetBucketWebsite_not_implemented,
"DeleteBucketWebsite_not_implemented": DeleteBucketWebsite_not_implemented,
"WORMProtection_bucket_object_lock_configuration_compliance_mode": WORMProtection_bucket_object_lock_configuration_compliance_mode,
"WORMProtection_bucket_object_lock_configuration_governance_mode": WORMProtection_bucket_object_lock_configuration_governance_mode,
"WORMProtection_bucket_object_lock_governance_bypass_delete": WORMProtection_bucket_object_lock_governance_bypass_delete,