Function parse_http_date
pub fn parse_http_date(value: &[u8]) -> Option<u64>Available on crate features
http and std only.Expand description
Unix seconds of an IMF-fixdate, RFC 850 or asctime HTTP-date, ignoring surrounding OWS.
None for anything else, including dates before 1970, impossible dates such as
31 Feb, and a weekday that does not match the date. An RFC 850 two-digit year more
than 50 years ahead of the current instant (rama’s cached clock) falls in the past century.