From: Lukas Schauer Date: Wed, 25 Apr 2018 20:48:16 +0000 (+0200) Subject: add explanation on HEADERS parameter to request_failure hook (fixes #545) X-Git-Tag: v0.6.2~1 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=89de83c99428481d880aac6f9702f4ecea38fa53;p=thirdparty%2Fdehydrated.git add explanation on HEADERS parameter to request_failure hook (fixes #545) --- diff --git a/docs/examples/hook.sh b/docs/examples/hook.sh index 52f9309..626ad3a 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