Origine d’URL

Schéma, hôte et port comme une seule origine.

Affiche URL.origin pour http et https. Contrairement à Analyser URL, c’est un seul champ, pas le chemin ni la requête. Contrairement à Punycode, ne réécrit pas les libellés IDN. Les URL non http échouent. Uniquement en local.

calcCommon.urlOriginOut: https://example.com:8080

Protocol: https

Host: example.com:8080

Port: 8080