# std.http.Client: add proxy scheme guessing, fix typo · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/87735e4daec618196e7d0d37359906fe96e12b39)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 87735e4daec618196e7d0d37359906fe96e12b39

Requested commit: 87735e4daec618196e7d0d37359906fe96e12b39

Commit: 87735e4daec618196e7d0d37359906fe96e12b39

Tree: 9087316e9bccbcad0744fa927e433ea979aba3eb

Author: Nameless

Committer: Andrew Kelley

## Message

```
std.http.Client: add proxy scheme guessing, fix typo

This adds scheme guessing when loading proxies, such that
`HTTP_PROXY=127.0.0.1` and such are valid now and it behaves identically
to `HTTP_PROXY=http://127.0.0.1`. Additionally fixed a typo that was
causing loadDefaultProxies to never populate the https_proxy.

```

## Parents

- [da06269d706087207fc94c2039006f2f2d18aa2e](https://git.cafe/gitcafe/zig/commit/da06269d706087207fc94c2039006f2f2d18aa2e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/87735e4daec618196e7d0d37359906fe96e12b39?format=markdown)
