mirror of
https://github.com/certbot/certbot.git
synced 2026-06-13 18:50:20 -04:00
network2: retry-after stub
This commit is contained in:
parent
3676a6d87a
commit
f29fe21ddd
1 changed files with 4 additions and 1 deletions
|
|
@ -189,10 +189,13 @@ class Network(object):
|
|||
|
||||
"""
|
||||
response = requests.get(authzr.uri)
|
||||
retry_after = 0 # TODO, get it from response.headers.get('Retry-After')
|
||||
|
||||
updated_authzr = self._authzr_from_response(
|
||||
response, authzr.body.identifier, authzr.uri, authzr.new_cert_uri)
|
||||
# TODO check UnexpectedUpdate
|
||||
return updated_authzr
|
||||
|
||||
return updated_authzr, retry_after
|
||||
|
||||
def request_issuance(self, csr, authzrs):
|
||||
"""Request issuance.
|
||||
|
|
|
|||
Loading…
Reference in a new issue