URL Origin
Origin,并给出协议与主机。
对 http(s) URL 输出 origin、协议与 host(含非默认端口)。和解析 URL 不同,这里不是完整拆分。非 http 失败。
calcCommon.urlOriginOut: https://example.com:8080
协议: https
主机: example.com:8080
端口: 8080
Origin,并给出协议与主机。
对 http(s) URL 输出 origin、协议与 host(含非默认端口)。和解析 URL 不同,这里不是完整拆分。非 http 失败。
calcCommon.urlOriginOut: https://example.com:8080
协议: https
主机: example.com:8080
端口: 8080