mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 08:03:10 +02:00
network2: retry-after stub
This commit is contained in:
@@ -189,10 +189,13 @@ class Network(object):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
response = requests.get(authzr.uri)
|
response = requests.get(authzr.uri)
|
||||||
|
retry_after = 0 # TODO, get it from response.headers.get('Retry-After')
|
||||||
|
|
||||||
updated_authzr = self._authzr_from_response(
|
updated_authzr = self._authzr_from_response(
|
||||||
response, authzr.body.identifier, authzr.uri, authzr.new_cert_uri)
|
response, authzr.body.identifier, authzr.uri, authzr.new_cert_uri)
|
||||||
# TODO check UnexpectedUpdate
|
# TODO check UnexpectedUpdate
|
||||||
return updated_authzr
|
|
||||||
|
return updated_authzr, retry_after
|
||||||
|
|
||||||
def request_issuance(self, csr, authzrs):
|
def request_issuance(self, csr, authzrs):
|
||||||
"""Request issuance.
|
"""Request issuance.
|
||||||
|
|||||||
Reference in New Issue
Block a user