Files
codex/codex-rs/http-client
Michael Bolin d5998e7452 Expand route-aware proxy redirect coverage (#34483)
## What changed

- Add end-to-end coverage that exact-URL system proxy decisions select the expected route, including when a redirect switches routes.
- Verify redirects strip credential headers across origins while retaining them for the same origin and route.
- Check that redirect chains emit only the final request outcome, omit sensitive redirect details from logs, and honor disabled request logging.
- Share local HTTP listener helpers across the outbound proxy tests.

GitOrigin-RevId: afd1640e1910442d71fa1dc77b20b4fb1a6f1b6a
2026-07-21 08:00:50 +00:00
..

codex-http-client

Low-level HTTP transport shared by Codex crates.

  • Defines the request, response, streaming, and transport types used for outbound HTTP calls.
  • Owns the reqwest implementation, custom CA handling, and ChatGPT Cloudflare cookie policy.
  • Resolves system, PAC/WPAD, environment, and direct proxy routes for supported clients.

Higher-level retry, SSE, and request telemetry policy remains in codex-client.