Skip to main content

classify

Function classify 

Source
pub fn classify(
    status: u16,
    headers: &[(String, String)],
    body: &str,
) -> AntibotVerdict
Expand description

Fingerprint a response. Runs status + headers first; only normalizes the (bounded) body when the head tier found no challenge, so the common case never touches the body.

body may be the full document — only the first BODY_PREFIX_LIMIT bytes are scanned.