PEP 458: Allow compression of json metadata (#1281)

* Allow compression of json metadata

* Update pep-0458.txt

Co-Authored-By: Trishank Karthik Kuppusamy <33133073+trishankatdatadog@users.noreply.github.com>

Co-authored-by: Trishank Karthik Kuppusamy <33133073+trishankatdatadog@users.noreply.github.com>
This commit is contained in:
mnm678 2020-01-25 18:39:36 -05:00 committed by Nick Coghlan
parent 2ff0cc2ad2
commit d6fa383389
1 changed files with 4 additions and 1 deletions

View File

@ -727,7 +727,10 @@ open and well-known standard for data interchange, which is already supported by
the TUF reference implementation, and therefore the recommended data format by
this PEP. However, due to the large number of delegations, compressed
versions of all metadata SHOULD also be made available to clients via the
existing Warehouse mechanisms for HTTP compression.
existing Warehouse mechanisms for HTTP compression. In addition, the JSON
metadata could be compressed before being sent to clients. The TUF reference
implementation does not currently support downloading compressed JSON metadata,
but this could be added to reduce the metadata size.
PyPI and Key Requirements