Dell DX6004S DX Object Storage Application Guide - Page 30
Error Responses to READ
View all Dell DX6004S manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 30 highlights
Expires: Tue, 05 Oct 2010 19:40:23 GMT Allow: HEAD, GET, PUT, POST, COPY, APPEND, DELETE [application meta-information] Date: Wed, 06 Oct 2010 23:27:03 GMT Server: CAStor Cluster/5.0.0 [content-stream] This response means the node to which the request was sent is returning the requested content in the message body of the response. 5.3.3. Other Normal READ Responses This section shows other normal READ responses, which apply to both named and unnamed objects. HTTP/1.1 206 Partial Content Date: Wed, 1 Sept 2010 15:59:02 GMT Server: CAStor Cluster 5.0.0 Content-Length: 500 [ application-meta-information ] CRLF [ content-stream ] When a READ request includes one or more Range headers, a successful response from DX Storage includes only the requested bytes range(s). In this case, instead of returning a 200 OK response, DX Storage returns a 206 Partial Content response, indicating that only part of the stored stream is being returned. The application-meta-information and content-stream are the same as in the preceding example. HTTP/1.1 301 Moved Permanently Date: Wed, 1 Sept 2010 15:59:02 GMT Server: CAStor Cluster/5.0.0 Location: http://cluster-ip/name-or-uuid?auth=2096EFA659295BBB819D1FECCE77D2EF Content-Length: 0 The preceding response means the requested stream has been located, but another node in the cluster will supply the content. Furthermore, all future requests of this DX Storage cluster should be made through the new access node until another 301 response is received. There is no messagebody, so the content length is always 0. The value of the Location header indicates which node in the cluster the redirect should go to. The client is expected to send another READ request using the exact URI contained in the Location header. HTTP/1.1 307 Temporary Redirect Date: Wed, 1 Sept 2010 15:59:02 GMT Server: CAStor Cluster/5.0.0 Connection: close Location: http://cluster-ip/name-or-uuid?auth=2096EFA659295BBB819D1FECCE77D2EF Content-Length: 0 The preceding 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. 5.4. Error Responses to READ The DX Storage cluster can return the following responses when the specified content cannot be found or there is a problem with the READ request itself. Copyright © 2010 Caringo, Inc. All rights reserved 25 Version 5.0 December 2010