Skip to content

Commit

Permalink
Editorial: add a URL path concept
Browse files Browse the repository at this point in the history
This will be useful for a future version of the Cookies RFC.

Closes #792.
  • Loading branch information
annevk authored Jan 26, 2024
1 parent 21b77e0 commit 94b8447
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions url.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1709,8 +1709,7 @@ null or a 16-bit unsigned integer that identifies a networking port. It is initi

<p>A <a for=/>URL</a>'s
<dfn export for=url id=concept-url-path oldids=non-relative-flag,url-cannot-be-a-base-url-flag>path</dfn>
is either a <a>URL path segment</a> or a <a for=/>list</a> of zero or more <a>URL path segments</a>,
usually identifying a location. It is initially « ».
is a <a for=/>URL path</a>, usually identifying a location. It is initially « ».

<p class=note>A <a lt="is special">special</a> <a for=/>URL</a>'s <a for=url>path</a> is always a
<a for=/>list</a>, i.e., it is never <a for=url lt="opaque path">opaque</a>.
Expand Down Expand Up @@ -1782,6 +1781,9 @@ the <a>blob URL store</a> between parsing and fetching, while fetching will stil

<hr>

<p>A <dfn export>URL path</dfn> is either a <a>URL path segment</a> or a <a for=/>list</a> of zero
or more <a>URL path segments</a>.

<p>A <dfn export>URL path segment</dfn> is an <a for=/>ASCII string</a>. It commonly refers to a
directory or a file, but has no predefined meaning.

Expand Down

0 comments on commit 94b8447

Please sign in to comment.