From a757d0581eee7fae5bc058db28a71bf218276298 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 6 Feb 2020 13:59:21 +0100 Subject: update API after discussion with Florian --- core/api-common.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'core/api-common.rst') 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 -- cgit v1.2.3