gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-anastasis] branch master updated: Corrected Etag-Han


From: gnunet
Subject: [GNUnet-SVN] [taler-anastasis] branch master updated: Corrected Etag-Handling
Date: Tue, 08 Oct 2019 09:24:26 +0200

This is an automated email from the git hooks/post-receive script.

dennis-neufeld pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new 6186571  Corrected Etag-Handling
6186571 is described below

commit 61865711397e869f69aa8cc7be723f31babebc9b
Author: Dennis Neufeld <address@hidden>
AuthorDate: Tue Oct 8 09:24:20 2019 +0200

    Corrected Etag-Handling
---
 src/api/api-anastasis.rst | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/api/api-anastasis.rst b/src/api/api-anastasis.rst
index 8163097..99dbb7e 100644
--- a/src/api/api-anastasis.rst
+++ b/src/api/api-anastasis.rst
@@ -193,7 +193,10 @@ public key using the Crockford base32-encoding.
 
   *Etag*: Etag, hash over the body for caching and to prevent redundancies. If 
status is 200 OK, the server must send the Etag.
 
-  *If-None-Match*: Contains the Etag-Value which the client has reveived 
before from the server. The client must send this header with every request.
+  *If-modified-since*: If the client has previously received an Etag from the 
server, he has to send it with this request (to avoid unnecessary downloads).
+
+  *If-None-Match*: If this is not the very first request of the client, this 
contains the Etag-Value which the client has reveived before from the server. 
+  The client must send this header with every request (except for the very 
first request).
 
   *Anastasis-Account-Signature*: The client must provide Base-32 encoded EdDSA 
signature over hash of body with $ACCOUNT_PRIV, affirming desire to download 
the requested encrypted recovery document.
 
@@ -227,7 +230,7 @@ public key using the Crockford base32-encoding.
   *Anastasis-Version*: $NUMBER --- The server must return the actual version 
number it determined.
     Only generated if the status is 204 or 304.
 
-  *If-modified-since*: The client must provide an Etag with the hash over the 
body (to avoid unnecessary re-uploads).
+  *If-not-modified-since*: The client must provide an Etag with the hash over 
the body (to avoid unnecessary re-uploads).
 
   *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.
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]