Skip to content

HTTP client: Support compression (Content-Encoding: gzip) #377

Open
@clue

Description

@clue

This library should support requesting compressed responses and automatically decompress using the Accept-Encoding request header and Content-Encoding response header.

This should be an opt-in feature.

Implementing this for buffered requests shouldn't be too hard. This should make sure to also respect the withResponseBuffer() setting.

Implementing this for streaming requests is doable, see also https://github.com/clue/reactphp-zlib.

We welcome contributions, reach out if you want to support this project 👍

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions