Merge pull request #1488 from nosqlbench/http-diag-logging-fix

allow http diag=all (and friends) to print application/json content type body
This commit is contained in:
Jonathan Shook
2023-08-29 10:55:24 -05:00
committed by GitHub
@@ -233,6 +233,9 @@ public class HttpConsoleFormats {
if (contentType.toLowerCase().startsWith("text")) {
return true;
}
if (contentType.toLowerCase().startsWith("application/json")) {
return true;
}
return PRINTABLE.contains(contentType.split("/")[0].toLowerCase());
}