【发布时间】:2015-12-15 21:14:02
【问题描述】:
假设一个绝对的 http 或 https URL。我正在为路径之前的 URL 部分寻找一个“官方”或普遍接受的名称。
http://foo:bar@example.com:8042/over/there?name=ferret#nose
\_____________________________/
|
this part
RFC 3986 定义 URL 语法部分如下:
http://foo:bar@example.com:8042/over/there?name=ferret#nose
\__/ \______________________/\_________/ \_________/ \__/
| | | | |
scheme authority path query fragment
RFC 6454 将 URL 的来源(如“相同来源”)定义为三元组(方案、主机、端口):
http://foo:bar@example.com:8042/over/there?name=ferret#nose
\__/ \______________/
\________________/
|
origin
因此,这两个术语都不合适。我正在查看的部分是否有一个好的术语,或者我是否坚持“方案(加上://)加上权限”?
【问题讨论】: