MCPcopy Create free account
hub / github.com/bajrangCoder/setu / split_once

Function split_once

src/utils/curl_parser.rs:204–207  ·  view source on GitHub ↗
(s: &str, sep: char)

Source from the content-addressed store, hash-verified

202 "GET" => HttpMethod::Get,
203 "POST" => HttpMethod::Post,
204 "PUT" => HttpMethod::Put,
205 "DELETE" => HttpMethod::Delete,
206 "PATCH" => HttpMethod::Patch,
207 "HEAD" => HttpMethod::Head,
208 "OPTIONS" => HttpMethod::Options,
209 _ => HttpMethod::Get,
210 }

Callers 3

parse_curlFunction · 0.85
parse_headerFunction · 0.85
build_bodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected