-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit 8d87d02
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 8d87d02Copy full SHA for 8d87d02
File tree
Expand file treeCollapse file tree
1 file changed
+606
-589
lines changedFilter options
- peps
Expand file treeCollapse file tree
1 file changed
+606
-589
lines changed
0 commit comments