mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-06 13:27:43 +00:00
fix: expiration time (#1215)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user