Skip to content

Commit

Permalink
explain that 200 OK is expected from direct upload #6783
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Oct 31, 2023
1 parent 6d73de8 commit a087c0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/sphinx-guides/source/developers/s3-direct-upload-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ In the single part case, only one call to the supplied URL is required:

.. code-block:: bash
curl -H 'x-amz-tagging:dv-state=temp' -X PUT -T <filename> "<supplied url>"
curl -i -H 'x-amz-tagging:dv-state=temp' -X PUT -T <filename> "<supplied url>"
Note that without the ``-i`` flag, you should not expect any output from the command above. With the ``-i`` flag, you should expect to see a "200 OK" response.

In the multipart case, the client must send each part and collect the 'eTag' responses from the server. The calls for this are the same as the one for the single part case except that each call should send a <partSize> slice of the total file, with the last part containing the remaining bytes.
The responses from the S3 server for these calls will include the 'eTag' for the uploaded part.
Expand Down

0 comments on commit a087c0b

Please sign in to comment.