diff --git a/py-json/LANforge/LFRequest.py b/py-json/LANforge/LFRequest.py index fb133ff5..1ff342e6 100644 --- a/py-json/LANforge/LFRequest.py +++ b/py-json/LANforge/LFRequest.py @@ -40,7 +40,7 @@ class LFRequest: headers=self.default_headers) else: request = urllib.request.Request(url=self.requested_url, headers=self.default_headers) - print("No data for this jsonPost?") + print("No data for this formPost?") request.headers['Content-type'] = 'application/x-www-form-urlencoded' resp = '' @@ -125,7 +125,7 @@ class LFRequest: return myresponses[0] except urllib.error.HTTPError as error: if (show_error): - print("----- jsonPost() HTTPError: --------------------------------------------") + print("----- get() HTTPError: --------------------------------------------") print("<%s> HTTP %s: %s"%(myrequest.get_full_url(), error.code, error.reason, )) print("Error: ", sys.exc_info()[0]) @@ -147,7 +147,7 @@ class LFRequest: print("------------------------------------------------------------------------") except urllib.error.URLError as uerror: if (show_error): - print("----- jsonPost() URLError: ---------------------------------------------") + print("----- get() URLError: ---------------------------------------------") print("Reason: %s; URL: %s"%(uerror.reason, myrequest.get_full_url())) print("------------------------------------------------------------------------") return None