HubSpot Addendum HBASE-25685: Default to HTML, like in hbase-2.5+

This commit is contained in:
Bryan Beaudreault 2022-01-04 08:49:02 -05:00
parent 8debdaace4
commit 4ce7c040e9
1 changed files with 2 additions and 2 deletions

View File

@ -358,10 +358,10 @@ public class ProfileServlet extends HttpServlet {
try { try {
return Output.valueOf(outputArg.trim().toUpperCase()); return Output.valueOf(outputArg.trim().toUpperCase());
} catch (IllegalArgumentException e) { } catch (IllegalArgumentException e) {
return Output.SVG; return Output.HTML;
} }
} }
return Output.SVG; return Output.HTML;
} }
static void setResponseHeader(final HttpServletResponse response) { static void setResponseHeader(final HttpServletResponse response) {