cku328 commented on a change in pull request #2048:
URL: https://github.com/apache/ozone/pull/2048#discussion_r595104212



##########
File path: 
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/server/http/ProfileServlet.java
##########
@@ -365,8 +378,8 @@ protected void doGetDownload(String fileName, final 
HttpServletRequest req,
           "This page will auto-refresh every 2 second until output file is "
               + "ready..");
     } else {
-      if (safeFileName.endsWith(".svg")) {
-        resp.setContentType("image/svg+xml");
+      if (safeFileName.endsWith(".html")) {
+        resp.setContentType("image/html+xml");

Review comment:
       ```suggestion
           resp.setContentType("text/html");
   ```




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to