(text: &str)
| 263 | return RequestBody::Json(combined); |
| 264 | } |
| 265 | |
| 266 | if content_type.contains("application/x-www-form-urlencoded") |
| 267 | || (combined.contains('=') && !combined.contains('\n')) |
| 268 | { |
| 269 | let mut map = HashMap::new(); |
| 270 | for pair in combined.split('&') { |
| 271 | if let Some((k, v)) = split_once(pair, '=') { |
| 272 | map.insert(k.to_string(), v.to_string()); |