Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

400 Bad Request

The following response indicates a problem with the DELETE request, such as missing mandatory headers, invalid message body, or any other violation of HTTP/1.1 by the DELETE request. The reason for the error is included in the message body of the response.

Code Block
languagexml
HTTP/1.1 400 Bad Request
  Date: Wed, 1 Sept 2010 15:59:02 GMT
  Server: CAStor Cluster/5.0.0
  Connection: close
  Content-Type: text/html 
  Content-Length: 24
  CRLF Host header is required.


404 Not Found

The following response indicates the requested object cannot be located in this cluster.

Code Block
languagexml
HTTP/1.1 404 Not Found
  Date: Wed, 1 Sept 2010 15:59:02 GMT
  Server: CAStor Cluster/5.0.0
  Content-Length: 56 
  Content-Type: text/html
  CRLF The requested resource is not available in this cluster.


403 Forbidden

The following response indicates the requested object cannot be deleted because its current state forbids it. An object's lifecycle might may include periods of time when users are not allowed to delete it from the cluster.

Code Block
languagexml
HTTP/1.1 403 Forbidden
  Date: Wed, 1 Sept 2010 15:59:02 GMT
  Server: CAStor Cluster/5.0.0  `
  Content-Length: 56 
  Content-Type: text/html
  CRLF
  The requested resource cannot be deleted at this time.


...