Skip to content

Commit a2bfb56

Browse files
committed
if attestations are going to be uploaded, do it before completion of file upload session
1 parent 2ef077c commit a2bfb56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

peps/pep-0694.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,8 @@ Servers **MAY** support uploading of digital attestations for files (see :pep:`7
777777
This support will be indicated by inclusion of an ``attestations_url`` key in the
778778
``http-post-application-octet-stream`` map of the ``mechanism`` map of the
779779
:ref:`file upload session creation response body <file-upload-session-response>`.
780+
Attestations **MUST** be uploaded to the ``attestations_url`` before
781+
:ref:`file upload session completion <file-upload-session-completion>`.
780782

781783
To upload an attestation, a client submits a ``POST`` request to the ``attestations_url``
782784
containing a JSON array of :pep:`attestation objects <740#attestation-objects>` like:

0 commit comments

Comments
 (0)