Skip to content

Why not set CURLOPT_ACCEPT_ENCODING? #268

@tecosaur

Description

@tecosaur

After setting Accept-Encoding manually and being surprised to get uncompressed output (I had assumed curl would "just" decompress it), I've come across CURLOPT_ACCEPT_ENCODING.

Using it with a custom Downloader and setopt, this seems to work a treat, and like something that could be worth setting for the default downloader unless there's some major drawback I'm missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions