mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2026-09-03 20:53:07 -05:00
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:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user