Ai data masking fix (#1420)

This commit is contained in:
007gzs
2024-10-22 21:39:01 +08:00
committed by GitHub
parent f8d62a8ac3
commit 871ae179c3
4 changed files with 26 additions and 5 deletions

View File

@@ -68,7 +68,7 @@ pub fn has_request_body() -> bool {
content_type, content_length_str, transfer_encoding
)
).unwrap();
if !content_type.is_some_and(|x| !x.is_empty()) {
if content_type.is_some_and(|x| !x.is_empty()) {
return true;
}
if let Some(cl) = content_length_str {