Skip to content

Commit

Permalink
fix: Do not print out multipart bodies as they could have binary parts
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Jun 26, 2023
1 parent 8e60638 commit 474ab17
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ class ContentType(val contentType: MediaType?) {
type == "application" && contentType.subtype.matches(JSON_TYPE) -> false
superType == MediaType.APPLICATION_ZIP -> true
superType == MediaType.OCTET_STREAM -> true
type == "multipart" -> true
else -> false
}
} else false
Expand Down

0 comments on commit 474ab17

Please sign in to comment.