Skip to main content

looks_like_har

Function looks_like_har 

pub fn looks_like_har(input: &[u8]) -> bool
Available on crate features http and std only.
Expand description

Whether input plausibly starts an HAR file, for content-based detection.

This only inspects the head of the input; deserializing LogFile does the real validation.