zed/crates/reqwest_client
Mikayla Maki b2e844f2ec
Fix an issue with using non-reusable body types with redirects (#19134)
Closes #19131
Closes #19039

fixes the broken auto-updater.

I had the bright idea of using streams as the most common unit of data
transfer. Unfortunately, streams are not re-usable. So HTTP redirects
that have a stream body (like our remote server and auto update
downloads), don't redirect, as they can't reuse the stream. This PR
fixes the problem and simplifies the AsyncBody implementation now that
we're not using Isahc.

Release Notes:

- N/A
2024-10-12 13:32:08 -07:00
..
examples Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
src Fix an issue with using non-reusable body types with redirects (#19134) 2024-10-12 13:32:08 -07:00
Cargo.toml Fix an issue with using non-reusable body types with redirects (#19134) 2024-10-12 13:32:08 -07:00
LICENSE-GPL Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00