Skip to content

Is there a way to copy agent options when using GLOBAL_AGENT_FORCE_GLOBAL_AGENT #71

@breis-sa

Description

@breis-sa

I would like to use GLOBAL_AGENT_FORCE_GLOBAL_AGENT=true as I want all requests done by my application and third party libraries to go through the proxy. That said, on some particular requests I have an agent explicitly set - mostly because of certificates. What I'm looking for is a way to copy options from the agent explicitly defined in the request to the proxied agent created by global-agent. That way I wouldn't need to disable GLOBAL_AGENT_FORCE_GLOBAL_AGENT. Is there a way to achieve that?

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