fix: expiration time (#1215)

This commit is contained in:
GatewayJ
2025-12-20 20:25:52 +08:00
committed by GitHub
parent b5535083de
commit cc31e88c91
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ where
&& headers
.get(header::CONTENT_TYPE)
.and_then(|v| v.to_str().ok())
.map(|ct| ct.split(';').next().unwrap_or("").trim())
.map(|ct| ct.split(';').next().unwrap_or("").trim().to_lowercase())
.map(|ct| ct == "application/x-www-form-urlencoded")
.unwrap_or(false)
{