MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / parse_no_body

Function parse_no_body

crates/openshell-supervisor-network/src/l7/rest.rs:2864–2870  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2862
2863 #[test]
2864 fn parse_no_body() {
2865 let headers = "GET /api HTTP/1.1\r\nHost: example.com\r\n\r\n";
2866 match parse_body_length(headers).unwrap() {
2867 BodyLength::None => {}
2868 other => panic!("Expected None, got {other:?}"),
2869 }
2870 }
2871
2872 #[test]
2873 fn parse_target_query_parses_duplicate_values() {

Callers

nothing calls this directly

Calls 1

parse_body_lengthFunction · 0.85

Tested by

no test coverage detected