From 7e232f602a97592dc62ffa1033a84fcf6090cc75 Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Tue, 28 Sep 2021 10:34:57 -0400 Subject: [PATCH] Switch to PATCH. --- docs/proposed/http-storage-node-protocol.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/proposed/http-storage-node-protocol.rst b/docs/proposed/http-storage-node-protocol.rst index 9d419657b..56f383e2c 100644 --- a/docs/proposed/http-storage-node-protocol.rst +++ b/docs/proposed/http-storage-node-protocol.rst @@ -482,7 +482,7 @@ The response includes ``already-have`` and ``allocated`` for two reasons: This might be because a server has become unavailable and a remaining server needs to store more shares for the upload. It could also just be that the client's preferred servers have changed. -``PUT /v1/immutable/:storage_index/:share_number`` +``PATCH /v1/immutable/:storage_index/:share_number`` !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Write data for the indicated share. @@ -668,19 +668,19 @@ Immutable Data #. Upload the content for immutable share ``7``:: - PUT /v1/immutable/AAAAAAAAAAAAAAAA/7 + PATCH /v1/immutable/AAAAAAAAAAAAAAAA/7 Content-Range: bytes 0-15/48 200 OK - PUT /v1/immutable/AAAAAAAAAAAAAAAA/7 + PATCH /v1/immutable/AAAAAAAAAAAAAAAA/7 Content-Range: bytes 16-31/48 200 OK - PUT /v1/immutable/AAAAAAAAAAAAAAAA/7 + PATCH /v1/immutable/AAAAAAAAAAAAAAAA/7 Content-Range: bytes 32-47/48