summaryrefslogtreecommitdiffstats
path: root/eteutils/HTTPUtils.py
blob: 9df3611155ec39daa47cb0133beabe5c4b63457d (plain)
1
2
3
4
5
6
7
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)