Skip to content

When making a request, the proxy is not used #385

@Morikko

Description

@Morikko

The follow snippet:

# @proxy http://localhost:8875
GET https://ipinfo.io/ip

is equivalent to:

GET https://ipinfo.io/ip

I also tried using request_proxy=http://localhost:8875 without success. When I am using the httpyac CLI directly installed with npm -g then the proxy is correctly used.

I detected it as the IP should be different. But a simpler test is to use a non existing proxy. The VScode run succeeds while it fails with the CLI.

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