Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[HttpLoggingInterceptor]: support brotli

Open
#9,386 6 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@krahulshharmaa is already working on this.

Since Apr 13, 2026.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
kotlin
Domain
api

Research direction

Start by reading HttpLoggingInterceptor and tracing how it handles gzip-encoded response bodies. The issue does not name files or tests, so locate the interceptor’s existing gzip coverage before making changes. Done means brotli-encoded responses can be logged as readable, decompressed text with support comparable to gzip.

Written by the indexing model from the issue text.

Description

enhancement

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.

Dominant language
Kotlin
Stars
47.1k
Forks
9.3k
Avg merge
18h 18m
Merged PRs (30d)
15

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lysine-dev/okhttp

All issues in lysine-dev/okhttp

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.