Skip to main content

Module http_validators

Module http_validators 

Source
Expand description

Transport-neutral HTTP conditional request helpers.

Enums§

HttpValidatorError
Errors produced while parsing HTTP validators.

Functions§

format_http_date
Formats a system time as an IMF-fixdate HTTP date.
http_date_epoch_seconds
Returns whole seconds relative to the Unix epoch, preserving pre-epoch ordering.
if_match_header_matches
Applies the strong comparison required by If-Match.
if_none_match_header_matches
Applies the weak comparison required by If-None-Match.
parse_http_date
Parses an HTTP date into system time.