Dell DX6012S DX Object Storage Application Guide - Page 28

Unnamed Object READ Details, 3. Normal Responses to READ

Page 28 highlights

User-Agent: DX Storage Client/0.1 5.2. Unnamed Object READ Details If the UUID refers to an unnamed anchor stream object, you must add alias=yes to the URI, as shown in the following example. Failure to include alias=yes for an unnamed object anchor stream read results in a 403 Forbidden response from DX Storage. GET /12BFEA648C2697A56FD5618CAE15D5CA?alias=yes HTTP/1.1 Host: cluster.example.com User-Agent: DX Storage Client/0.1 5.3. Normal Responses to READ For a list of response headers, see Section 4.6, "Normal Response Headers". The following responses can be returned by the DX Storage cluster in the case where the requested content was found. The content can be returned directly by the node to which the request was sent, or it can be redirected to another node in the cluster. See one of the following topics for more information: • Section 5.3.1, "Normal READ Responses for Named Objects" • Section 5.3.2, "Normal READ Response for Unnamed Objects" • Section 5.3.3, "Other Normal READ Responses" 5.3.1. Normal READ Responses for Named Objects This section shows normal responses to READ for named objects. 5.3.1.1. Normal READ Response for a Domain Response to READ on a domain: HTTP/1.1 401 Unauthorized WWW-Authenticate: Digest realm="cluster.example.com/_administrators", / nonce="05d0a60ee1f44361f449496505e05116", opaque="784d8bc3fe3a48a5105b4f8ddd8ae0e7", stale=false, qop="auth", algorithm=MD5 WWW-Authenticate: Basic realm="cluster.example.com/_administrators" Content-Length: 51 Content-Type: text/html Date: Sat, 16 Oct 2010 00:41:23 GMT Server: CAStor Cluster 5.0.0 Allow: HEAD, GET, PUT, POST, COPY, APPEND, DELETE HTTP/1.1 200 OK Castor-Authorization: cluster.example.com/_administrators, POST= Castor-Stream-Type: admin Castor-System-Alias: ec87e3c7c410cc04fc4c838061898d9c Castor-System-CID: ffffffffffffffffffffffffffffffff Castor-System-Cluster: cluster.example.com Castor-System-Created: Fri, 15 Oct 2010 23:59:40 GMT Castor-System-Name: cluster.example.com Castor-System-Owner: admin@CAStor administrator Copyright © 2010 Caringo, Inc. All rights reserved 23 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
23
Version 5.0
December 2010
User-Agent: DX Storage Client/0.1
5.2. Unnamed Object READ Details
If the UUID refers to an unnamed anchor stream object, you must add
alias=yes
to the URI,
as shown in the following example. Failure to include
alias=yes
for an unnamed object anchor
stream read results in a 403 Forbidden response from DX Storage.
GET /12BFEA648C2697A56FD5618CAE15D5CA?alias=yes HTTP/1.1
Host: cluster.example.com
User-Agent: DX Storage Client/0.1
5.3. Normal Responses to READ
For a list of response headers, see
Section 4.6, “Normal Response Headers”
.
The following responses can be returned by the DX Storage cluster in the case where the requested
content was found. The content can be returned directly by the node to which the request was sent,
or it can be redirected to another node in the cluster.
See one of the following topics for more information:
Section 5.3.1, “Normal READ Responses for Named Objects”
Section 5.3.2, “Normal READ Response for Unnamed Objects”
Section 5.3.3, “Other Normal READ Responses”
5.3.1. Normal READ Responses for Named Objects
This section shows normal responses to READ for named objects.
5.3.1.1. Normal READ Response for a Domain
Response to READ on a domain:
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Digest realm="cluster.example.com/_administrators", /
nonce="05d0a60ee1f44361f449496505e05116", opaque="784d8bc3fe3a48a5105b4f8ddd8ae0e7",
stale=false, qop="auth", algorithm=MD5
WWW-Authenticate: Basic realm="cluster.example.com/_administrators"
Content-Length: 51
Content-Type: text/html
Date: Sat, 16 Oct 2010 00:41:23 GMT
Server: CAStor Cluster 5.0.0
Allow: HEAD, GET, PUT, POST, COPY, APPEND, DELETE
HTTP/1.1 200 OK
Castor-Authorization: cluster.example.com/_administrators, POST=
Castor-Stream-Type: admin
Castor-System-Alias: ec87e3c7c410cc04fc4c838061898d9c
Castor-System-CID: ffffffffffffffffffffffffffffffff
Castor-System-Cluster: cluster.example.com
Castor-System-Created: Fri, 15 Oct 2010 23:59:40 GMT
Castor-System-Name: cluster.example.com
Castor-System-Owner: admin@CAStor administrator