This is an automated email from the ASF dual-hosted git repository.
enapps-enorman pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter-integration-tests.git
The following commit(s) were added to refs/heads/master by this push:
new 463ccdb SLING-13247 allow a Content-Type response header with a
charset (#49)
463ccdb is described below
commit 463ccdb6da451c7561986a86089300e83e354828
Author: Eric Norman <[email protected]>
AuthorDate: Tue Jun 23 10:12:40 2026 -0700
SLING-13247 allow a Content-Type response header with a charset (#49)
---
.../sling/starter/webapp/integrationtest/servlets/HeadServletTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/sling/starter/webapp/integrationtest/servlets/HeadServletTest.java
b/src/main/java/org/apache/sling/starter/webapp/integrationtest/servlets/HeadServletTest.java
index c62978a..62212fd 100644
---
a/src/main/java/org/apache/sling/starter/webapp/integrationtest/servlets/HeadServletTest.java
+++
b/src/main/java/org/apache/sling/starter/webapp/integrationtest/servlets/HeadServletTest.java
@@ -88,7 +88,7 @@ public class HeadServletTest {
final int status = H.getHttpClient().executeMethod(head);
assertEquals(200, status);
assertNull("Expecting null body", head.getResponseBody());
- assertCommonHeaders(head, "text/html");
+ assertCommonHeaders(head, "^text\\/html(;\\s*charset=.*)?$");
}
@Test