httpdate

Function fmt_http_date

source
pub fn fmt_http_date(d: SystemTime) -> String
Expand description

Format a date to be used in a HTTP header field.

Dates are formatted as IMF-fixdate: Fri, 15 May 2015 15:34:21 GMT.