Dell DX6004S DX Object Storage Application Guide - Page 45

Unnamed Object INFO Details, 3. Normal Responses to INFO

Page 45 highlights

A DX Storage cluster responds to the INFO request with one of several possible response codes, depending on whether the request can be fulfilled or not. 11.2. Unnamed Object INFO Details To INFO an unnamed anchor stream, add the alias=yes query argument to the URI portion of the HTTP request line, as shown in the following example. Failure to include the ?alias=yes argument for an anchor stream info results in a 403 (Forbidden) response from DX Storage. HEAD /41A140B5271DC8D22FF8D027176A0821?alias=yes HTTP/1.1 Host: cluster.example.com User-Agent: DX Storage Client/0.1 11.3. Normal Responses to INFO For a list of response headers, see Section 4.6, "Normal Response Headers". See one of the following topics for more information: • Section 11.3.1, "Normal INFO Responses for Named and Unnamed Objects" • Section 11.3.2, "Normal INFO Responses for Named Objects" • Section 11.3.3, "Normal INFO Responses for Unnamed Objects" 11.3.1. Normal INFO Responses for Named and Unnamed Objects The following responses might be returned by the DX Storage cluster in the case where the requested content was found. The content's meta-information can be returned directly by the node to which the request was sent, or the request might be redirected to another node in the cluster. HTTP/1.1 301 Moved Permanently Date: Wed, 1 Sept 2010 15:59:02 GMT Server: CAStor Cluster/v8b2 Connection: close Location: http://node-ip/name-or-uuid?auth=2096EFA659295BBB819D1FECCE77D2EF Content-Length: 0 The preceding response means the requested stream has been located, but that another node in the cluster will service the request for meta-information. 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 INFO 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 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. Copyright © 2010 Caringo, Inc. All rights reserved 40 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
40
Version 5.0
December 2010
A DX Storage cluster responds to the INFO request with one of several possible response codes,
depending on whether the request can be fulfilled or not.
11.2. Unnamed Object INFO Details
To INFO an unnamed anchor stream, add the
alias=yes
query argument to the URI portion of
the HTTP request line, as shown in the following example. Failure to include the
?alias=yes
argument for an anchor stream info results in a 403 (Forbidden) response from DX Storage.
HEAD /41A140B5271DC8D22FF8D027176A0821?alias=yes HTTP/1.1
Host: cluster.example.com
User-Agent: DX Storage Client/0.1
11.3. Normal Responses to INFO
For a list of response headers, see
Section 4.6, “Normal Response Headers”
.
See one of the following topics for more information:
Section 11.3.1, “Normal INFO Responses for Named and Unnamed Objects”
Section 11.3.2, “Normal INFO Responses for Named Objects”
Section 11.3.3, “Normal INFO Responses for Unnamed Objects”
11.3.1. Normal INFO Responses for Named and Unnamed Objects
The following responses might be returned by the DX Storage cluster in the case where the
requested content was found. The content's meta-information can be returned directly by the node
to which the request was sent, or the request might be redirected to another node in the cluster.
HTTP/1.1 301 Moved Permanently
Date: Wed, 1 Sept 2010 15:59:02 GMT
Server: CAStor Cluster/v8b2
Connection: close
Location: http://
node-ip
/
name-or-uuid
?auth=2096EFA659295BBB819D1FECCE77D2EF
Content-Length: 0
The preceding response means the requested stream has been located, but that another node
in the cluster will service the request for meta-information. 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 INFO 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
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.