Dell DX6004S DX Object Storage Application Guide - Page 47

Error Responses to INFO

Page 47 highlights

Castor-System-CID: d36dfca69ba7752f4708b1fa9bf9918b Castor-System-Cluster: cluster.example.com Castor-System-Created: Fri, 15 Oct 2010 22:09:19 GMT Castor-System-Name: file.txt Castor-System-Version: 1287180559.436 Content-Length: 26 Content-Type: application/x-www-form-urlencoded Last-Modified: Fri, 15 Oct 2010 22:09:19 GMT Etag: "c744aa90d375aa3e1f228f74b7960e54" Date: Fri, 15 Oct 2010 23:51:44 GMT Server: CAStor Cluster/5.0.0 The response for a named object is very similar to the response for a bucket except that CastorSystem-CID is the identifier of the named object's parent; that is, the bucket. 11.3.3. Normal INFO Responses for Unnamed Objects HTTP/1.1 200 OK Date: Wed, 1 Sept 2010 15:59:02 GMT Server: CAStor Cluster/5.0.0 Content-Type: image/jpeg Content-Length: (length of the stream in DX Storage) Replica-Count: (number of replicas in cluster) [ application-meta-information ] The preceding response means the node to which the request was sent has found the requested content and is returning meta-information about the stream in the headers of this response. 11.4. Error Responses to INFO The following responses may be returned by the DX Storage cluster when the specified content cannot be found or there is a problem with the INFO request itself. HTTP/1.1 400 Bad Request Date: Wed, 1 Sept 2010 15:59:02 GMT Server: CAStor Cluster 5.0.0 Content-Length: 24 Content-Type: text/html CRLF Host header is required. The preceding response indicates a problem with the INFO request, such as missing mandatory headers, invalid message body, or any other violation of HTTP/1.1 by the HEAD request. The reason for the error is included in the message body of the response. 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. The preceding response indicates the requested content stream could not be located in this cluster. Copyright © 2010 Caringo, Inc. All rights reserved 42 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
42
Version 5.0
December 2010
Castor-System-CID: d36dfca69ba7752f4708b1fa9bf9918b
Castor-System-Cluster: cluster.example.com
Castor-System-Created: Fri, 15 Oct 2010 22:09:19 GMT
Castor-System-Name: file.txt
Castor-System-Version: 1287180559.436
Content-Length: 26
Content-Type: application/x-www-form-urlencoded
Last-Modified: Fri, 15 Oct 2010 22:09:19 GMT
Etag: "c744aa90d375aa3e1f228f74b7960e54"
Date: Fri, 15 Oct 2010 23:51:44 GMT
Server: CAStor Cluster/5.0.0
The response for a named object is very similar to the response for a bucket except that Castor-
System-CID is the identifier of the named object's parent; that is, the bucket.
11.3.3. Normal INFO Responses for Unnamed Objects
HTTP/1.1 200 OK
Date: Wed, 1 Sept 2010 15:59:02 GMT
Server: CAStor Cluster/5.0.0
Content-Type: image/jpeg
Content-Length: (length of the stream in DX Storage)
Replica-Count: (number of replicas in cluster)
[ application-meta-information ]
The preceding response means the node to which the request was sent has found the requested
content and is returning meta-information about the stream in the headers of this response.
11.4. Error Responses to INFO
The following responses may be returned by the DX Storage cluster when the specified content
cannot be found or there is a problem with the INFO request itself.
HTTP/1.1 400 Bad Request
Date: Wed, 1 Sept 2010 15:59:02 GMT
Server: CAStor Cluster 5.0.0
Content-Length: 24
Content-Type: text/html
CRLF
Host header is required.
The preceding response indicates a problem with the INFO request, such as missing mandatory
headers, invalid message body, or any other violation of HTTP/1.1 by the HEAD request. The
reason for the error is included in the message body of the response.
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.
The preceding response indicates the requested content stream could not be located in this cluster.