This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 3c8f38b63d Fix back-port
3c8f38b63d is described below

commit 3c8f38b63de7787f632096fd1489b4f86b1dc7b0
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Sep 26 12:00:09 2024 +0100

    Fix back-port
---
 test/org/apache/coyote/http2/TestStreamProcessor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/coyote/http2/TestStreamProcessor.java 
b/test/org/apache/coyote/http2/TestStreamProcessor.java
index 0788815e76..9a0ed2092b 100644
--- a/test/org/apache/coyote/http2/TestStreamProcessor.java
+++ b/test/org/apache/coyote/http2/TestStreamProcessor.java
@@ -792,7 +792,7 @@ public class TestStreamProcessor extends Http2TestBase {
         protected void doGet(HttpServletRequest req, HttpServletResponse resp) 
throws ServletException, IOException {
             resp.addHeader("server", "TestServerApp");
 
-            resp.setCharacterEncoding(StandardCharsets.UTF_8);
+            resp.setCharacterEncoding("UTF-8");
             resp.setContentType("text/plain");
 
             resp.getWriter().write("OK");


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to