mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
- Fix proxy test helper clippy warning
- Mark `should_force_identity_encoding` as test-only. - Keep runtime forwarding behavior unchanged. - Verified with local CI checks and no-bundle Tauri build.
This commit is contained in:
@@ -2190,6 +2190,7 @@ fn is_streaming_request(endpoint: &str, body: &Value, headers: &axum::http::Head
|
||||
.unwrap_or(false)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
fn should_force_identity_encoding(
|
||||
endpoint: &str,
|
||||
body: &Value,
|
||||
|
||||
Reference in New Issue
Block a user