Skip to content

Make request-body compression configurable, mirroring the Python client #1064

Closed

Description

@vdusek

Compression is hard-wired in maybeCompressValue() (src/utils.ts): brotli at quality 6 with a silent gzip fallback, and no way to pick the algorithm, tune the quality, or plug in a custom compressor.

The Python client has an HttpCompressor base class with GzipHttpCompressor / BrotliHttpCompressor and a compression option on ApifyClient (apify/apify-client-python#927, http_compressors). Port that design.

✍️ Drafted by Claude Code

Activity

  1. added this to the 3.0 milestone on Sep 14, 2026
  2. self-assigned this
    on Sep 14, 2026
  3. added
    t-toolingIssues with this label are in the ownership of the tooling team.
    enhancementNew feature or request.
    on Sep 14, 2026
  4. added a commit that references this issue on Sep 15, 2026
    a98b91f
  5. vdusek commented on Sep 15, 2026

    @vdusek
    ContributorAuthor

    resolved by #1065

  6. added a commit that references this issue on Sep 30, 2026
    7878800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions