File tree Expand file tree Collapse file tree
api-rs/crates/centaur-iron-proxy/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ fn access_token_fragment_carries_no_broker_credentials_block() {
105105}
106106
107107#[ test]
108- fn shipped_proxy_allowlist_preserves_railway_project_tokens ( ) {
108+ fn shipped_proxy_allowlist_preserves_integration_headers ( ) {
109109 let config: serde_yaml:: Value =
110110 serde_yaml:: from_str ( include_str ! ( "../../../../iron-proxy/iron-proxy.yaml" ) ) . unwrap ( ) ;
111111 let transforms = config[ "transforms" ] . as_sequence ( ) . unwrap ( ) ;
@@ -120,4 +120,9 @@ fn shipped_proxy_allowlist_preserves_railway_project_tokens() {
120120 . iter( )
121121 . any( |header| header. as_str( ) == Some ( "project-access-token" ) )
122122 ) ;
123+ assert ! (
124+ headers
125+ . iter( )
126+ . any( |header| header. as_str( ) == Some ( "originator" ) )
127+ ) ;
123128}
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ transforms:
4040 - " openai-organization"
4141 - " openai-project"
4242 - " chatgpt-account-id"
43+ # Codex uses this non-secret client marker when resolving model routes.
44+ - " originator"
4345 - " x-request-id"
4446 - " x-stainless-arch"
4547 - " x-stainless-os"
You can’t perform that action at this time.
0 commit comments