mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-02 13:29:26 -06: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:
commit
56bdd11a5e
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user