pub fn route(
record: &FrontDoorRecord,
method: &str,
path: &str,
accept: &str,
) -> HttpReplyExpand description
Route one HTTP request against a FrontDoorRecord — pure, no I/O.
GEToncrate::qdp_server::WELL_KNOWN_QDP_PATH(query string stripped) →render_profilewith theAcceptvalue.Ok→200with the negotiated content-type and body.Err→500 text/plaincarrying the error message.
- anything else →
404 text/plainnot found.
The method match is ASCII-case-insensitive; the path is compared after stripping any ?query.