gleam-lang / gleam-lang/httpc

Support for automatically detecting system proxy settings

Open
#48 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Gleam
Stars
175
Forks
31
PR merge metrics
No merged PRs in 30d

Description

Hello Louis,

Opening this issue as requested by you on Discord.

On Unix-like systems, variables like `all_proxy`, `http_proxy`, `https_proxy`, `no_proxy` are often automatically detected by tools (e.g. `curl`). This is more of a convention than a standard, nevertheless it's very common.

Some additional info:
https://superuser.com/questions/944958/are-http-proxy-https-proxy-and-no-proxy-environment-variables-standard

This would enable `httpc` to be used from behind a proxy (which is sometimes enforced, e.g. company networks). Additionally, it would be useful to be able to override the proxy in code on a per request basis.

Thanks,
David

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.