pub fn content_length(fields: &[Field<'_>]) -> Result<Option<u64>, DecodeError>Expand description
The value of Content-Length, if present: a list of equal values is one
value (RFC 9110 §8.6).
§Errors
Malformed "Content-Length" for a value that is not digits, overflows
u64, or differs from another.