You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently ran into a small friction point while using HttpLoggingInterceptor to inspect response bodies. Currently, the interceptor handles gzip seamlessly, allowing us to read the logged response body in plain text. However, it doesn't seem to support brotli decompression.
Given that brotli is now one of OkHttp's default accepted encodings (and widely used for better compression), it would be incredibly helpful if the logging interceptor could handle it with the same out-of-the-box support it gives to gzip.
just FYI - without a project maintainer being involved there is a reasonable chance it does not get immediate attention, or there are review comments blocking it being accepted and merged. I'm not saying don't make a PR, just treat it as somewhat speculative.
Activity
krahulshharmaa commentedon Apr 13, 2026
Hi @Starmania , Can I work on this?
Starmania commentedon Apr 13, 2026
Hi,
Yes ! Feel free to write a PR to add the functionality !
krahulshharmaa commentedon Apr 13, 2026
Thanks @Starmania , I'll start working on this.
yschimke commentedon Apr 13, 2026
just FYI - without a project maintainer being involved there is a reasonable chance it does not get immediate attention, or there are review comments blocking it being accepted and merged. I'm not saying don't make a PR, just treat it as somewhat speculative.
krahulshharmaa commentedon Apr 13, 2026
Thanks @yschimke , if would be helpful if you can help me in getting the PR checked and merged.
krahulshharmaa commentedon Apr 13, 2026
Hi @Starmania , I have given a PR -> #9420