summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/eteutils/HTTPUtils.py
diff options
context:
space:
mode:
Diffstat (limited to 'robotframework-onap/eteutils/HTTPUtils.py')
-rw-r--r--robotframework-onap/eteutils/HTTPUtils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/robotframework-onap/eteutils/HTTPUtils.py b/robotframework-onap/eteutils/HTTPUtils.py
index c24ebf4..f5c8fe4 100644
--- a/robotframework-onap/eteutils/HTTPUtils.py
+++ b/robotframework-onap/eteutils/HTTPUtils.py
@@ -8,11 +8,11 @@ class HTTPUtils:
"""HTTPUtils is common resource for simple http helper keywords."""
def url_encode_string(self, barestring):
- """URL Encode String takes in a string and converts into 'percent-encoded' string"""
- return urllib.parse.quote_plus(barestring)
+ """URL Encode String takes in a string and converts it into fully 'percent-encoded' string"""
+ return urllib.parse.quote(barestring)
def disable_warnings(self):
- """ Disable the cert warnings when creating sessions for A&AI API Calls """
+ """ Disable all warnings when creating sessions """
urllib3.disable_warnings()
def url_parse(self, url):