Skip to content

Commit 8d87d02

Browse files
ewdurbindstufftwarsaw
authored
PEP 694: Abstract file upload mechanisms (#4431)
* PEP 694: Abstract file upload mechanisms * lint * no warnings allowed * refinements * Update peps/pep-0694.rst * remove reference to a specific URL for PyPI * clarify that resumable/parallel uploads are supported but not defined in this pep * attempt to specify http-post-application-octet-stream mechanism * if attestations are going to be uploaded, do it before completion of file upload session * i'm in it now * try to un-wonk content-type per feedback * lint * clarify file upload mechanism details * Fix typo Co-authored-by: Donald Stufft <donald@stufft.io> * address general content feedback from review * bubble content-type handling up so that it can be assumed througouth * restructure document to un-twist Upload Sessions and File Upload Sessions * naming things * flatten the `mechanism` value of the file upload session response * Rename "Upload Session" to "Publishing Session" * re-flow the doc into (mostly) lines <100 * Apply suggestions from code review Co-authored-by: Barry Warsaw <barry@python.org> * re-order response codes in session status * Update peps/pep-0694.rst Co-authored-by: Ee Durbin <ewdurbin@gmail.com> * Update verbiage in rationale section. * specify that Retry-After header should be used to manage polling of the file upload session status * stage previews are optionally supported by this PEP, and thus are not an open question * valid-for -> expires-at * clarify who owns what version specifiers * lint * say _something_ about authentication for upload 2.0 * simplify per code review * Restore Open Questions section with notes on deferred extensions Add documentation about webhook notifications and capabilities extensions that were discussed but deferred to avoid complexity and ecosystem fragmentation during initial Upload 2.0 rollout. --------- Co-authored-by: Donald Stufft <donald@stufft.io> Co-authored-by: Barry Warsaw <barry@python.org>
1 parent 1ba076f commit 8d87d02

File tree

1 file changed

+606
-589
lines changed

1 file changed

+606
-589
lines changed

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy