Module parse

Module parse 

Source
Expand description

Parsing utilities.

Functionsยง

parse_name_value_fields
Parse a HTTP-like fields of name-value pairs.
parse_u64_strict
Parse a value into a u64.
remove_line_folding
Remove line folding from a HTTP-like field value.
scan_header_deliminator
Get the index (inclusive) of the header deliminator (an empty line).
validate_field_name
Returns whether the value is a valid name in a HTTP-like field.
validate_field_value
Returns whether the value is a valid value in a HTTP-like field.