Skip to content

How to add headers for proxy? #1804

@FoliageOwO

Description

@FoliageOwO

Is there any possible way to add authorization headers in HTTP proxy through CONNECT tunnel?

With curl, I can do:

$ curl -x http://127.0.0.1:8888 https://example.com --proxy-header "X-Proxy-Authorization: TOKEN"

which adds an authorization header for the HTTP proxy http://127.0.0.1:8888.

Seemingly there does not exist a hook or any configuration to allow me to do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions