SIGN IN SIGN UP

feat: Add request body compression with optional brotli (#927)

## Description

- https://github.com/apify/apify-core/pull/28971 added support for
brotli compression to BE.
- Pros: higher compression, cons: more CPU intensive.
- The brotli dependencies are defined as optional, one has to explicitly
enable it and choose one.
- JS client doesn't compress requests that are too small, this Python
client compresses just everything. No change done, I only noticed and
stating it.

## Issues

Closes: #942

## Related PRs

- https://github.com/apify/apify-core/pull/28971
- https://github.com/apify/apify-docs/pull/2750
- https://github.com/apify/apify-client-js/pull/962
- https://github.com/apify/apify-client-python/pull/927
- https://github.com/apify/apify-sdk-python/pull/1031

---------

Co-authored-by: Vlada Dusek <v.dusek96@gmail.com>
M
Michal Turek committed
a8a393bfcca01c8396b461036a9978fa5b28e6bf
Parent: c9dac4a
Committed by GitHub <noreply@github.com> on 7/15/2026, 8:21:41 AM