summaryrefslogtreecommitdiff
path: root/core/api-common.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-06 13:59:21 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-06 13:59:21 +0100
commita757d0581eee7fae5bc058db28a71bf218276298 (patch)
treeab7fd3bae4d20bde66897297fda9710887055f97 /core/api-common.rst
parent288826460848964629a21f2089f7cbeb2e2328f6 (diff)
downloaddocs-a757d0581eee7fae5bc058db28a71bf218276298.tar.gz
docs-a757d0581eee7fae5bc058db28a71bf218276298.tar.bz2
docs-a757d0581eee7fae5bc058db28a71bf218276298.zip
update API after discussion with Florian
Diffstat (limited to 'core/api-common.rst')
-rw-r--r--core/api-common.rst11
1 files changed, 10 insertions, 1 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index 5ee44041..9584f240 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -49,11 +49,20 @@ handle the error as if an internal error (500) had been returned.
The server responsible for the reserve
changed, the client MUST follow the link to the new location. If possible,
the client SHOULD remember the new URL for the reserve for future
- requests.
+ requests. Only applicable if the request method is GET.
:status 302 Found:
The server responsible for the reserve changed, the
client MUST follow the link to the new location, but MUST NOT retain the
+ new URL for future requests. Only applicable if the request method is GET.
+ :status 307 Temporary Redirect:
+ The server responsible for the reserve changed, the
+ client MUST follow the link to the new location, but MUST NOT retain the
new URL for future requests.
+ :status 308 Permanent Redirect:
+ The server responsible for the reserve
+ changed, the client MUST follow the link to the new location. If possible,
+ the client SHOULD remember the new URL for the reserve for future
+ requests.
:status 500 Internal server error:
This always indicates some serious internal operational error of the exchange,
such as a program bug, database problems, etc., and must not be used for