# gpui_web: Stream Fetch response bodies \(\#62333\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 45ae0572c422e5e8dcf73157730d747152d0be52

Requested commit: 45ae0572c422e5e8dcf73157730d747152d0be52

Commit: 45ae0572c422e5e8dcf73157730d747152d0be52

Tree: a6879df0896687ff9bebe32c3c638811e4d08a6d

Author: Gaauwe Rombouts

Committer: GitHub

## Message

```
gpui_web: Stream Fetch response bodies (#62333)

Adds streaming support to the web `FetchHttpClient`: response bodies are
now read incrementally via the Fetch `ReadableStream` API instead of
being buffered whole with `arrayBuffer()`, enabling streaming responses
(e.g. LLM completions) on web. A bounded channel propagates
backpressure, and dropping the body cancels the browser-side stream.

Release Notes:
- N/A
```

## Parents

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

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