mirror of
https://github.com/versity/versitygw.git
synced 2026-08-17 04:36:19 +00:00
test: website - initial tests
This commit is contained in:
@@ -39,7 +39,7 @@ func NewCreateBucketCommand(s3Command *S3RequestBuilder, locationConstraint stri
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error marshalling XML: %w", err)
|
||||
}
|
||||
s3Command.Config.Payload = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + string(xmlData)
|
||||
s3Command.Config.Payload = xml.Header + string(xmlData)
|
||||
}
|
||||
return command, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user