From 9bfe832530c859b754570649a6be5fd627bf4b5a Mon Sep 17 00:00:00 2001 From: Schrolli Date: Thu, 28 May 2015 09:17:22 +0200 Subject: [PATCH] fix error in httpRequest plugin --- plugins/httpRequest/httpRequest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/httpRequest/httpRequest.py b/plugins/httpRequest/httpRequest.py index 0fb3a86..cb552dc 100644 --- a/plugins/httpRequest/httpRequest.py +++ b/plugins/httpRequest/httpRequest.py @@ -58,7 +58,7 @@ def run(typ,freq,data): logging.warning("Invalid Typ: %s", typ) httprequest = httplib.HTTPConnection(url) - httprequest.request("HEAD", path) + httprequest.request("HEAD", url) except: logging.exception("cannot send HTTP request")