Function httpdate::parse_http_date
source · pub fn parse_http_date(s: &str) -> Result<SystemTime, Error>
Expand description
Parse a date from an HTTP header field.
Supports the preferred IMF-fixdate and the legacy RFC 805 and ascdate formats. Two digit years are mapped to dates between 1970 and 2069.