This commit is contained in:
2025-03-06 22:38:53 +01:00
parent 6b406c24d3
commit f7fa5d5be4
8 changed files with 138 additions and 113 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ impl ParamMap for HashMap<String, String> {
}
}
pub fn parse(s: &str) -> Result<(String, HashMap<String, String>), String> {
pub fn parse(s: &str) -> std::io::Result<(String, HashMap<String, String>)> {
let mut parts = s.split("@");
let method = parts.next().unwrap().trim().to_lowercase();