Skip to content

User-Agent should be sent to proxies #660

@Mazwak

Description

@Mazwak

Hi

On windows, reqwest reads the registry and sets proxy from there.
Implemented in #547 .

First, I want to say it is great !

However, I have an issue that I can't mitigate from this change.
At work, we have 2 proxies : one auth, one basic.
By default from GPO, settings point to the auth proxy, which is not supported by reqwest.
If I set the basic proxy in the environment, it is ignored. Which is what is expected from the code.

I need environment to take precedence over registry, if it is set. And I think this is expected behaviour.

Do you think it can be changed ?

NB: My issue arised when trying to update rust with rustup, which use reqwest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions