Skip to content

Support configured ChatGPT cookies in HTTP clients - #36984

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5baf745859e14db739fd62ab931720dbe90c04e0
Aug 4, 2026
Merged

Support configured ChatGPT cookies in HTTP clients#36984
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5baf745859e14db739fd62ab931720dbe90c04e0

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 4, 2026

Copy link
Copy Markdown

Support configured ChatGPT cookies in HTTP clients

What changed

  • Let HttpClientFactory carry additional ChatGPT cookies and share their store across cloned factories.
  • Attach configured cookies when route-aware clients or explicitly opted-in clients enable the ChatGPT cookie store.
  • Combine configured cookies with the current path-scoped Cloudflare cookies only for HTTPS ChatGPT hosts, while preserving sensitive-header metadata.

Testing

  • Cover cookie merging, path-scoped Cloudflare updates, host and scheme restrictions, sensitive values, and factory clone/equality behavior.
## What changed

- Let `HttpClientFactory` carry additional ChatGPT cookies and share their store across cloned factories.
- Attach configured cookies when route-aware clients or explicitly opted-in clients enable the ChatGPT cookie store.
- Combine configured cookies with the current path-scoped Cloudflare cookies only for HTTPS ChatGPT hosts, while preserving sensitive-header metadata.

## Testing

- Cover cookie merging, path-scoped Cloudflare updates, host and scheme restrictions, sensitive values, and factory clone/equality behavior.

GitOrigin-RevId: 5baf745859e14db739fd62ab931720dbe90c04e0
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/5baf745859e14db739fd62ab931720dbe90c04e0 branch from fa7078d to 411f3f0 Compare August 4, 2026 22:18
@copyberry
copyberry Bot merged commit 411f3f0 into main Aug 4, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/5baf745859e14db739fd62ab931720dbe90c04e0 branch August 4, 2026 22:19
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants