pub fn parse_turtle_acl_with_limit(
input: &str,
max_bytes: usize,
) -> Result<AclDocument, PodError>Expand description
Parse a Turtle ACL document with a caller-supplied byte limit.
Equivalent to parse_turtle_acl but accepts the size cap as a
parameter instead of reading from the JSS_MAX_ACL_BYTES environment
variable. Returns PodError::PayloadTooLarge (HTTP 413 equivalent)
when input.len() > max_bytes.