diff --git a/pep-0503.txt b/pep-0503.txt index 3b7087113..e74979f04 100644 --- a/pep-0503.txt +++ b/pep-0503.txt @@ -32,7 +32,7 @@ the top level URL that all additional URLs are below. The API is named the ``https://pypi.org/simple/``. .. note:: All subsequent URLs in this document will be relative to this base - URL (so given PyPI's URL, an URL of ``/foo/`` would be + URL (so given PyPI's URL, a URL of ``/foo/`` would be ``https://pypi.org/simple/foo/``. @@ -52,14 +52,14 @@ link to the URL for that particular project. As an example:: Below the root URL is another URL for each individual project contained within a repository. The format of this URL is ``//`` where the ```` is replaced by the normalized name for that project, so a project named -"HolyGrail" would have an URL like ``/holygrail/``. This URL must respond with +"HolyGrail" would have a URL like ``/holygrail/``. This URL must respond with a valid HTML5 page with a single anchor element per file for the project. The -text of the anchor tag **MUST** be the filename of the file and the href -attribute **MUST** be an URL that links to the location of the file for -download. The URL **SHOULD** include a hash in the form of an URL fragment with -the following syntax: ``#=``, where ```` is the -lowercase name of the hash function (such as ``sha256``) and ```` is -the hex encoded digest. +href attribute **MUST** be a URL that links to the location of the file for +download, and the text of the anchor tag **MUST** match the final path +component (the filename) of the URL. The URL **SHOULD** include a hash in the +form of a URL fragment with the following syntax: ``#=``, +where ```` is the lowercase name of the hash function (such as +``sha256``) and ```` is the hex encoded digest. In addition to the above, the following constraints are placed on the API: