Skip to content

Skip request-body compression for small payloads #934

Description

@vdusek

The Python API client compresses every request body regardless of size (see #927). For small payloads the compression overhead isn't worth it.

The JS client skips compression when the body is below 1024 B. We should align the Python client with that behavior and only compress bodies at or above the threshold.

Context: #927 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    debtCode quality improvement or decrease of technical debt.t-toolingIssues with this label are in the ownership of the tooling team.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions