MCPcopy Index your code
hub / github.com/caddyserver/certmagic / LooksLikeZeroSSLHTTPValidation

Function LooksLikeZeroSSLHTTPValidation

httphandlers.go:214–217  ·  view source on GitHub ↗

LooksLikeZeroSSLHTTPValidation returns true if the request appears to be domain validation from a ZeroSSL/Sectigo CA. NOTE: This API is non-standard and is subject to change.

(r *http.Request)

Source from the content-addressed store, hash-verified

212// domain validation from a ZeroSSL/Sectigo CA. NOTE: This API is
213// non-standard and is subject to change.
214func LooksLikeZeroSSLHTTPValidation(r *http.Request) bool {
215 return r.Method == http.MethodGet &&
216 strings.HasPrefix(r.URL.Path, zerosslHTTPValidationBasePath)
217}
218
219// HTTPValidationHandler wraps the ZeroSSL HTTP validation handler such that
220// it can pass verification checks from ZeroSSL's API.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…