Use static key
This commit is contained in:
parent
dc05141c04
commit
2ded12838a
|
|
@ -333,7 +333,7 @@ func (va *ValidationAuthorityImpl) validateSimpleHTTP(identifier core.AcmeIdenti
|
|||
return challenge, err
|
||||
}
|
||||
|
||||
contentTypes, ok := httpResponse.Header[http.CanonicalHeaderKey("content-type")]
|
||||
contentTypes, ok := httpResponse.Header["Content-Type"]
|
||||
if ok && len(contentTypes) != 1 {
|
||||
challenge.Status = core.StatusInvalid
|
||||
challenge.Error = &core.ProblemDetails{
|
||||
|
|
|
|||
Loading…
Reference in New Issue