mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 08:06:19 +00:00
Same-account requests preserved opaque x-codex-turn-metadata headers after account scoping, allowing the downstream installation ID to overwrite the rebuilt header. Apply the existing turn metadata scoping to each opaque value before serialization, retaining repeated values and extension fields. Verify HTTP and WebSocket header/body identity consistency for same-account and cross-account requests, including mixed-case repeated metadata headers. Match the Responses metadata and compatibility projections in openai/codex@c6c09fe29f, codex-rs/core/src/responses_metadata.rs, lines 324-409. Refs #226 Co-authored-by: Codex <noreply@openai.com>