# gpui_web: Support Fetch requests from background workers \(\#61782\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b2131e9df8aa16d7d287f0b098df3088310d00d6

Requested commit: b2131e9df8aa16d7d287f0b098df3088310d00d6

Commit: b2131e9df8aa16d7d287f0b098df3088310d00d6

Tree: 22a30ecd177281eb9d5c3079009102cb104c6c55

Author: Gaauwe Rombouts

Committer: GitHub

## Message

```
gpui_web: Support Fetch requests from background workers (#61782)

Browser Fetch APIs must run on the main thread, while GPUI image loading
can invoke its HTTP client from background WASM workers. This routes
`FetchHttpClient` requests through the web dispatcher's main-thread
mailbox, installs the client by default for web applications, and
removes thread-affine browser state from the safely movable dispatcher.

Release Notes:
- N/A
```

## Parents

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

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