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)

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

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions