Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

See SCSP Headers for a list of response headers.

DELETE response

The following response indicates that the content was found and is being deleted:

Code Block
languagexml
HTTP/1.1 200 OK
  Castor-System-Cluster: cluster.example.com
  Castor-System-Created: Fri, 15 Oct 2010 18:16:54 GMT
  Content-Type: application/x-www-form-urlencoded
  Last-Modified: Fri, 15 Oct 2010 18:16:54 GMT 
  Etag: "06eec5e2c3f1aadcb41ef7fd52adc049"
  Content-Length: 0
  Date: Fri, 15 Oct 2010 21:43:51 GMT
  Server: CAStor Cluster/5.0.0

DELETE response for moved permanently

The following response indicates the content can be deleted as requested, but another node in the cluster completes the Delete. Additionally, all future requests of this storage cluster should be made through the new access node until another 301 response is received. The value of the Location header indicates which node in the cluster should receive the redirect. The client is expected to send another DELETE request using the exact URI contained in the Location header.

Code Block
languagexml
HTTP/1.1 301 Moved Permanently
  Date: Wed, 1 Sept 2010 15:59:02 GMT
  Server: CAStor Cluster/5.0.0 
  Location: http://node-ip/name-or-uuid?auth=2096EFA659295BBB819D1FECCE77D2EF
  Content-Length: 0

DELETE response for moved temporarily

The following response indicates the content can be deleted as requested, but another node in the cluster completes the Delete. All future requests of this storage cluster should be made through the new access node until another 301 response is received. The value of the Location header indicates which node in the cluster is assigned the redirect. The client is expected to send another DELETE request using the exact URI contained in the Location header.

Code Block
languagexml
HTTP/1.1 307 Temporary Redirect
  Date: Wed, 1 Sept 2010 15:59:02 GMT
  Server: CAStor Cluster 5.0.0 
  Location: http://node-ip/name-or-uuid?auth=2096EFA659295BBB819D1FECCE77D2EF
  Content-Length: 0

This response is similar to the 301 response, except the client should continue to use the current node (the one generating this response) for future requests until further notice.