code: def host(self, value):
          
          scheme, host, port = get_hostname_parameters_from_url(value)
          self._host = "%s://%s:%s" % (scheme, host, port)
docs: A string that will be automatically included at the beginning of the url generated for doing each http request.
  
          :param value: The host to be connected with, e.g. (http://hostname) or (https://X.X.X.X:port)