Add uri to authzr_from_response

This commit is contained in:
Brad Warren 2018-02-22 11:11:20 -08:00
parent 894cf36496
commit 99ff634046

View file

@ -580,7 +580,7 @@ class ClientV2(ClientBase):
body = messages.Order.from_json(response.json())
authorizations = []
for url in body.authorizations:
authorizations.append(self._authzr_from_response(self.net.get(url)))
authorizations.append(self._authzr_from_response(self.net.get(url), uri=url))
return messages.OrderResource(
body=body,
uri=response.headers.get('Location'),