You are here

constant Uri::HTTP_DEFAULT_HOST in Auth0 Single Sign On 8.2

Absolute http and https URIs require a host per RFC 7230 Section 2.7 but in generic URIs the host can be empty. So for http(s) URIs we apply this default host when no host is given yet to form a valid URI.

File

vendor/guzzlehttp/psr7/src/Uri.php, line 21

Class

Uri
PSR-7 URI implementation.

Namespace

GuzzleHttp\Psr7

Code

const HTTP_DEFAULT_HOST = 'localhost';