diff --git a/webapps/examples/WEB-INF/classes/RequestHeaderExample.java b/webapps/examples/WEB-INF/classes/RequestHeaderExample.java index db6e4b10c51f..86f0ed0e29bf 100644 --- a/webapps/examples/WEB-INF/classes/RequestHeaderExample.java +++ b/webapps/examples/WEB-INF/classes/RequestHeaderExample.java @@ -73,7 +73,7 @@ protected boolean prefersJSON(String acceptHeader) { // text/html, application/html, etc. if (accept.contains("html")) { - return true; + return false; } } return false;