PDavid commented on code in PR #7568:
URL: https://github.com/apache/hbase/pull/7568#discussion_r2659764750
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/http/TestRSStatusPage.java:
##########
@@ -122,7 +122,7 @@ public void testStatusPage() throws Exception {
int port = firstServerName.getPort();
URL url = new URL("http://" + hostname + ":" + infoPort +
"/regionserver.jsp");
- String page = TestServerHttpUtils.getPageContent(url,
"text/html;charset=utf-8");
+ String page = TestServerHttpUtils.getPageContent(url, "text/html");
Review Comment:
Hi,
Yes, I noticed when I backported the Jamon to JSP migration patches that
somehow the test was failing because of this `text/html;charset=utf-8` vs.
`text/html` issue. To be completely honest I'm not sure why this happened. On
branch-2 the page was served without charset in content type header and it was
quickest to change the test assertion. Maybe the JSP engine / servlet
implementation is different? :thinking:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]