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)
| 212 | // domain validation from a ZeroSSL/Sectigo CA. NOTE: This API is |
| 213 | // non-standard and is subject to change. |
| 214 | func 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. |
no outgoing calls
no test coverage detected
searching dependent graphs…