diff options
Diffstat (limited to 'eteutils/HTTPUtils.py')
-rw-r--r-- | eteutils/HTTPUtils.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/eteutils/HTTPUtils.py b/eteutils/HTTPUtils.py new file mode 100644 index 0000000..9df3611 --- /dev/null +++ b/eteutils/HTTPUtils.py @@ -0,0 +1,8 @@ +import urllib + +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.quote_plus(barestring)
\ No newline at end of file |