Skip to content

feat: add support decompress *br* response content#226

Merged
vdusek merged 1 commit into
apify:masterfrom
Mantisus:support-br-decompress
Jun 25, 2024
Merged

feat: add support decompress *br* response content#226
vdusek merged 1 commit into
apify:masterfrom
Mantisus:support-br-decompress

Conversation

@Mantisus

Copy link
Copy Markdown
Collaborator

Description

Adds support for decompressing a brotli-compressed server response if an "Accept-Encoding" header was passed with the "br" or "gzip, deflate, br" parameter and the server supports this type of compression.

Httpx provides the necessary functionality, but requires additional libraries to be installed to work correctly.

@vdusek vdusek self-requested a review June 25, 2024 09:23

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@vdusek vdusek merged commit a3547b9 into apify:master Jun 25, 2024
@janbuchar janbuchar mentioned this pull request Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants