fix(s3): remove XML declaration from GetBucketLocation response (#403)

This commit is contained in:
Christine Nguyen authored and GitHub committed 2026-04-13 14:17:22 -05:00
1 parent 300bfa4356
commit 3621c32b88
2 files changed
+9 -7

No files matched your search

@@ -1289,6 +1289,7 @@ class S3IntegrationTest {
.get("/" + bucket + "?location")
.then()
.statusCode(200)
.body(not(containsString("<?xml")))
.body(containsString("<LocationConstraint"))
.body(not(containsString("us-east-1")));
@@ -1318,6 +1319,7 @@ class S3IntegrationTest {
.get("/" + bucket + "?location")
.then()
.statusCode(200)
.body(not(containsString("<?xml")))
.body(containsString("eu-central-1"));
given().when().delete("/" + bucket);