Skip to content

Commit

Permalink
add explanation on HEADERS parameter to request_failure hook (fixes #545
Browse files Browse the repository at this point in the history
)
  • Loading branch information
lukas2511 committed Apr 25, 2018
1 parent 52c2c19 commit 89de83c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/examples/hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89de83c

Please sign in to comment.