Set Content-Type / Retry-After for custom ARI resp
This commit is contained in:
parent
d52948ce25
commit
dd99838087
|
|
@ -1917,6 +1917,8 @@ func (wfe *WebFrontEndImpl) RenewalInfo(_ context.Context, response http.Respons
|
|||
}
|
||||
|
||||
if cert.ARIResponse != "" {
|
||||
response.Header().Set("Retry-After", strconv.Itoa(int(6*time.Hour/time.Second)))
|
||||
response.Header().Set("Content-Type", "application/json; charset=utf-8")
|
||||
_, _ = response.Write([]byte(cert.ARIResponse))
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue