mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:54:22 +02:00
Correct the Content-Type used in the POST-as-GET request to retrieve a cert (#6757)
This commit is contained in:
committed by
ohemorange
parent
66c9767623
commit
a0a8292ff2
+1
-2
@@ -739,8 +739,7 @@ class ClientV2(ClientBase):
|
||||
if body.error is not None:
|
||||
raise errors.IssuanceError(body.error)
|
||||
if body.certificate is not None:
|
||||
certificate_response = self._post_as_get(body.certificate,
|
||||
content_type=DER_CONTENT_TYPE).text
|
||||
certificate_response = self._post_as_get(body.certificate).text
|
||||
return orderr.update(body=body, fullchain_pem=certificate_response)
|
||||
raise errors.TimeoutError()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user