mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
Document use of email.utils parser
This commit is contained in:
@@ -262,6 +262,8 @@ class Client(object): # pylint: disable=too-many-instance-attributes
|
||||
try:
|
||||
seconds = int(retry_after)
|
||||
except ValueError:
|
||||
# The RFC 2822 parser handles all of RFC 2616's cases in modern
|
||||
# environments (primarily HTTP 1.1+ but also py27+)
|
||||
when = parsedate_tz(retry_after)
|
||||
if when is not None:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user