From 89de83c99428481d880aac6f9702f4ecea38fa53 Mon Sep 17 00:00:00 2001 From: Lukas Schauer Date: Wed, 25 Apr 2018 22:48:16 +0200 Subject: [PATCH] add explanation on HEADERS parameter to request_failure hook (fixes #545) --- docs/examples/hook.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/examples/hook.sh b/docs/examples/hook.sh index 52f93094..626ad3a4 100755 --- a/docs/examples/hook.sh +++ b/docs/examples/hook.sh @@ -138,6 +138,8 @@ request_failure() { # The specified reason for the error. # - REQTYPE # The kind of request that was made (GET, POST...) + # - HEADERS + # HTTP headers returned by the CA # Simple example: Send mail to root # printf "Subject: HTTP request failed failed!\n\nA http request failed with status ${STATUSCODE}!" | sendmail root