Commit f2518496 authored by Jonathan Michalon's avatar Jonathan Michalon

Merge branch 'patch-1' into 'master'

added authentications capabilities for http checks

See merge request !12
parents 3a4bb8df 5e350795
......@@ -201,6 +201,8 @@ class CheckHTTP(Check):
command += ['-H', str(self._options['vhost'])]
if 'string' in self._options:
command += ['-s', str(self._options['string'])]
if 'auth' in self._options:
command += ['-a', str(self._options['auth'])]
if 'url' in self._options:
command += ['-u', str(self._options['url'])]
return command
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment