[Baypiggies] HTTP date format
Ian Zimmerman
itz at buug.org
Wed Feb 17 14:44:41 EST 2016
Is there a _simple_ way of formatting a date/time (in any of the
representations native to the Python standard library) in the format
specified by RFC 7231 [1]?
I do not consider an implementation simple if it contains its own lists
of day and month names, such as [2] does.
At some point, I will have to parse the format as well.
[1]
https://tools.ietf.org/html/rfc7231#section-7.1.1.1
[2]
https://github.com/sam-washington/requests-aws4auth/blob/master/requests_aws4auth/aws4auth.py#L396
--
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.
More information about the Baypiggies
mailing list