code: def build_url(host, path):
          
          host += "/" if not host.endswith("/") else ""
          path = path.lstrip("/")
  
          return parse.urljoin(host, path)
docs: Builds a valid URL from a host and path which may or may not have slashes in the proper place.
          Does not conform to `IETF RFC 1808 <https://tools.ietf.org/html/rfc1808.html>`_ but instead joins the host and path as given.
          Does not append any additional slashes to the final URL; just joins the host and path properly.
  
          :param str host:
              An HTTP host like ``'https://awesome-api.com/v2'``
          :param str path:
              The path to an endpoint on the host like ``'/some-resource/'``
          :return:
              The properly-joined URL of host and path, e.g. ``'https://awesome-api.com/v2/some-resource/'``
          :rtype:
              str