Skip to content

Decouple exec-server HTTP from reqwest types - #35059

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8b0fc60a76004feb57198bfb4afb1371c9ceb1bd
Jul 24, 2026
Merged

Decouple exec-server HTTP from reqwest types#35059
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8b0fc60a76004feb57198bfb4afb1371c9ceb1bd

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 24, 2026

Copy link
Copy Markdown

Decouple exec-server HTTP from reqwest types

What changed

  • Rename ReqwestHttpClient to RouteAwareHttpClient to reflect that delegated HTTP uses Codex's shared route-aware transport.
  • Use codex_http_client response and error types plus transport-neutral http and url types, removing the exec server's direct reqwest dependency.

Testing

  • Cover fragment stripping and Unicode hostname normalization for delegated HTTP requests.

## What changed

- Rename `ReqwestHttpClient` to `RouteAwareHttpClient` to reflect that delegated HTTP uses Codex's shared route-aware transport.
- Use `codex_http_client` response and error types plus transport-neutral `http` and `url` types, removing the exec server's direct `reqwest` dependency.

## Testing

- Cover fragment stripping and Unicode hostname normalization for delegated HTTP requests.

GitOrigin-RevId: 8b0fc60a76004feb57198bfb4afb1371c9ceb1bd
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/8b0fc60a76004feb57198bfb4afb1371c9ceb1bd branch from 154df2e to 09241ae Compare July 24, 2026 00:53
@copyberry
copyberry Bot merged commit 09241ae into main Jul 24, 2026
31 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/8b0fc60a76004feb57198bfb4afb1371c9ceb1bd branch July 24, 2026 00:54
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants