commons-app/apps-android-commons

Make OkHttp not log binary content

Opened this issue · 0 comments

We made OkHttp output the content of packets, which is super helpful when debugging JSON or SPARQL calls.

However, when we get thumbnails over HTTP, it is not so nice to see the binary:

Screenshot 2024-10-30 at 22 45 13

It would be great if we could not output that for binaries (or for content-type: image/jpeg at least).