()
| 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() { |
nothing calls this directly
no test coverage detected