Dell DX6004S DX Object Storage Application Guide - Page 30

Error Responses to READ

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81

Copyright © 2010 Caringo, Inc.
All rights reserved
25
Version 5.0
December 2010
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 message-
body, 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.