flask.Request.host_url

Request.host_url

Just the host with scheme as IRI. See also: trusted_hosts.