Skip to content

Feature Request: compression support #101

@sweihub

Description

@sweihub

Hi

Thanks for the cute minreq, it's really handy!

However, can you add compression support?

let records: Vec<Last> = minreq::get(url)
                .with_header("Accept-Encoding", "deflate, gzip")
                .with_timeout(5)
                .send()?
                .json()?;

Gives the error

response contained invalid utf-8 where valid utf-8 was expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions