Use the shared HTTP client in codex-protocol (#36033)

## What changed

- Replace direct `reqwest` error types in `codex-protocol` with
  `codex_http_client::HttpError`.
- Build the response-stream error test through
  `codex_http_client::HttpResponse`.
- Remove `codex-protocol` from the direct `reqwest` dependency allowlist.

## Testing

- Update the response-stream failure test to cover status and URL propagation
  through the shared HTTP response wrapper.

GitOrigin-RevId: 7abcbbe55f994acb13cccefef806a53c7008acde
This commit is contained in:
Celia Chen authored and copyberry committed 2026-07-29 21:47:22 +00:00
1 parent 78a61de904
commit 5989dcc470
5 files changed
+15 -15

No files matched your search

-1
View File
@@ -243,7 +243,6 @@ deny = [
"codex-core",
"codex-ollama",
"codex-otel",
"codex-protocol",
"codex-responses-api-proxy",
# Third-party crates that own their reqwest integration. These are not part of the
# first-party migration count above.