# Respect proxy settings when fetching JSON schemas \(\#53954\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/f722e2fb2f71864a98ebde9a1cea0fbda6934221)

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

Visibility: public

Requested revision: f722e2fb2f71864a98ebde9a1cea0fbda6934221

Requested commit: f722e2fb2f71864a98ebde9a1cea0fbda6934221

Commit: f722e2fb2f71864a98ebde9a1cea0fbda6934221

Tree: f2e422a5b1aef12fbd1b8dd259d56fe5ce0da3c0

Author: Hamza Paracha

Committer: GitHub

## Message

```
Respect proxy settings when fetching JSON schemas (#53954)

This fixes #53819.

JSON schema downloads were still going through the JSON language server
without picking up Zed's configured proxy. On networks that require the
proxy, that made schema fetches fail even though the rest of the app
could connect normally.

This passes the proxy setting through to the JSON language server
configuration so schema requests follow the same network path as the
rest of Zed.

## Test plan
- `rustfmt --edition 2024 crates/languages/src/json.rs`
- `git diff --check -- crates/languages/src/json.rs`

Release Notes:

- Fixed JSON schema downloads ignoring Zed's proxy setting.

---------

Co-authored-by: Christopher Biscardi <chris@christopherbiscardi.com>
```

## Parents

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

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