- 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:
Jason
2026-05-15 23:45:26 +08:00
parent 4a631b28c7
commit 9e6a7a0d81
+1
View File
@@ -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,