summaryrefslogtreecommitdiff
path: root/anastasis.rst
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2020-11-28 00:24:29 -0500
committerThien-Thi Nguyen <ttn@gnuvola.org>2020-11-28 00:24:29 -0500
commit832e4a4be5ffe65b408f0be1a4b67f126795e6a2 (patch)
tree12d80f4899be0b6902e4e6421b6a7a19b2919d6c /anastasis.rst
parent80e0641bcb14edfea3cff81ee106be024c5acee9 (diff)
downloaddocs-832e4a4be5ffe65b408f0be1a4b67f126795e6a2.tar.gz
docs-832e4a4be5ffe65b408f0be1a4b67f126795e6a2.tar.bz2
docs-832e4a4be5ffe65b408f0be1a4b67f126795e6a2.zip
delete extra indentation (eight instances)
Diffstat (limited to 'anastasis.rst')
-rw-r--r--anastasis.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/anastasis.rst b/anastasis.rst
index 29f395f..c03620f 100644
--- a/anastasis.rst
+++ b/anastasis.rst
@@ -534,16 +534,16 @@ In the following, UUID is always defined and used according to `RFC 4122`_.
case.
*If-Match*: Unless the client expects to upload the first encrypted recovery document to this account, the client
- SHOULD provide an Etag matching the latest version already known to the server. If this
- header is present, the server MUST refuse the upload if the latest known version prior to
- this upload does not match the given Etag.
+ SHOULD provide an Etag matching the latest version already known to the server. If this
+ header is present, the server MUST refuse the upload if the latest known version prior to
+ this upload does not match the given Etag.
*If-None-Match*: This header MUST be present and set to the SHA512 hash (Etag) of the body by the client.
- The client SHOULD also set the "Expect: 100-Continue" header and wait for "100 continue"
- before uploading the body. The server MUST
- use the Etag to check whether it already knows the encrypted recovery document that is about to be uploaded.
- The server MUST refuse the upload with a "304" status code if the Etag matches
- the latest version already known to the server.
+ The client SHOULD also set the "Expect: 100-Continue" header and wait for "100 continue"
+ before uploading the body. The server MUST
+ use the Etag to check whether it already knows the encrypted recovery document that is about to be uploaded.
+ The server MUST refuse the upload with a "304" status code if the Etag matches
+ the latest version already known to the server.
*Anastasis-Policy-Signature*: The client must provide Base-32 encoded EdDSA signature over hash of body with $ACCOUNT_PRIV, affirming desire to upload an encrypted recovery document.