SolveHTTPChallenge solves the HTTP challenge. It should be used only on HTTP requests that are from ACME servers trying to validate an identifier (i.e. LooksLikeHTTPChallenge() == true). It returns true if the request criteria check out and it answered with key authentication, in which case no furth
(logger *zap.Logger, w http.ResponseWriter, r *http.Request, challenge acme.Challenge)
| 198 | // returns true if the request criteria check out and it answered with key authentication, in which |
| 199 | // case no further handling of the request is necessary. |
| 200 | func SolveHTTPChallenge(logger *zap.Logger, w http.ResponseWriter, r *http.Request, challenge acme.Challenge) bool { |
| 201 | return solveHTTPChallenge(logger, w, r, challenge, false) |
| 202 | } |
| 203 | |
| 204 | // LooksLikeHTTPChallenge returns true if r looks like an ACME |
| 205 | // HTTP challenge request from an ACME server. |
nothing calls this directly
no test coverage detected
searching dependent graphs…