lua-resty-upstream-healthcheck icon indicating copy to clipboard operation
lua-resty-upstream-healthcheck copied to clipboard

checking response body as part of healthcheck?

Open paperpunk opened this issue 8 years ago • 0 comments
trafficstars

Hello,

is there a way to check the contents of the response body in addition to the list of valid statuses? For example, ability to fail it a situation where the /healthCheck response code is HTTP 200 but body contains 'failure'.

Thank you!

paperpunk avatar Jan 13 '17 15:01 paperpunk