-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Always the bane of any http based project, I'm behind a corporate firewall and can only access the internet through a proxy server.
I already set the proxy server in Emacs using url-proxy-services, so it might be nice to automatically pick up proxy server settings from it.
I tried working round it myself by adding a "--proxy" flag to plz-curl-default-args, but it fails as curl returns a second set of headers for the proxy server:
> curl.exe --silent --location --dump-header - --proxy http://localhost:3128 "https://httpbin.org/user-agent"
HTTP/1.1 200 Connection established
Server: SimpleHTTP/0.6 Python/3.7.3
Date: Wed, 25 Aug 2021 12:18:20 GMT
Proxy-Agent: SimpleHTTP/0.6 Python/3.7.3
HTTP/1.1 200 OK
Date: Wed, 25 Aug 2021 12:18:20 GMT
Content-Type: application/json
Content-Length: 34
Connection: keep-alive
Server: gunicorn/19.9.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
{
"user-agent": "curl/7.55.1"
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request