'Set a HTTP proxy which will be used with this connection.
:param proxy_url: Proxy URL (e.g. http://<hostname>:<port> without
authentication and
http://<username>:<password>@<hostname>:<port> for
basic auth authentication information.
:type proxy_url: ``str``'

def set_http_proxy(self, proxy_url):

    result = self._parse_proxy_url(proxy_url=proxy_url)
    scheme = result[0]
    host = result[1]
    port = result[2]
    username = result[3]
    password = result[4]
    self.proxy_scheme = scheme
    self.proxy_host = host
    self.proxy_port = port
    self.proxy_username = username
    self.proxy_password = password
    self.http_proxy_used = True
    self.session.proxies = {self.proxy_scheme: proxy_url}
