We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44a4a79 commit bbd82e9Copy full SHA for bbd82e9
webapps/examples/WEB-INF/classes/RequestHeaderExample.java
@@ -73,7 +73,7 @@ protected boolean prefersJSON(String acceptHeader) {
73
74
// text/html, application/html, etc.
75
if (accept.contains("html")) {
76
- return true;
+ return false;
77
}
78
79
return false;
0 commit comments