Skip to main content

counted

Function counted 

Source
pub(super) fn counted(
    refused: Response,
    shape: Option<&CaptureShape>,
    agent: &str,
) -> Response
Expand description

A capture with a shape that the host could not read a value for (no value beside the label, none with the prefix, two of them) is the same answer as a mismatch, and counts as one: the host tests the shape too, to choose the value, so a failure there says whether one matched.