Commit 348ffe53 authored by Jonathan Michalon's avatar Jonathan Michalon

Support URL parameter to http check

parent d43b7578
......@@ -167,6 +167,8 @@ class CheckHTTP(Check):
command += ['-H', str(self._options['vhost'])]
if 'string' in self._options:
command += ['-s', str(self._options['string'])]
if 'url' in self._options:
command += ['-u', str(self._options['url'])]
return command
def check(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment