Return URL by combining server details with a path suffix.

def generate_url(self, suffix):
        """Return URL by combining server details with a path suffix."""
        url_base_path = os.path.dirname(self.path)
        netloc = "{}:{}".format(*self.server.server_address)
        return urlunparse((
            "http",
            netloc,
            url_base_path + "/" + suffix,
            "", "", ""))