Skip to content

support for http proxies in awc #4008

@lovasoa

Description

@lovasoa

In reqwest, when a system proxy is configured, it is used by default: https://docs.rs/reqwest/latest/reqwest/struct.ClientBuilder.html#method.proxy
In awc, it does not seem possible to configure an http proxy, and the environment variables HTTP_PROXY / HTTPS_PROXY are ignored by default: https://docs.rs/awc/latest/awc/index.html

It would be nice if awc supported proxies. Currently, any desktop software that depends on awc is hard to deploy in constrained/managed environments that require the usage of proxies to access the internet.

Initially requested in sqlpage/SQLPage#1269

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