Dell DX6004S DX Object Storage Application Guide - Page 22

Formatting SCSP Commands for Named and Unnamed Objects

Page 22 highlights

302: "Found", 303: "See Other", 304: "Not Modified", 305: "Use Proxy", 307: "Temporary Redirect", 400: "Bad Request", 401: "Unauthorized", 402: "Payment Required", 403: "Forbidden", 404: "Not Found", 405: "Method Not Allowed", 406: "Not Acceptable", 407: "Proxy Authentication Required", 408: "Request Time-out", 409: "Conflict", 410: "Gone", 411: "Length Required", 412: "Precondition Failed", 413: "Request Entity Too Large", 414: "Request-URI Too Long", 415: "Unsupported Media Type", 416: "Requested Range not satisfiable", 417: "Expectation Failed", 500: "Internal Server Error", 501: "Not Implemented", 502: "Bad Gateway", 503: "Service Unavailable", 504: "Gateway Time-out", 505: "HTTP Version not supported", 507: "Insufficient Storage Space" 4.3.2. Redirect Responses Client applications must be able to accept and properly interpret two different kinds of redirect responses. If DX Storage returns a 301 Moved Permanently response, this means the Primary Access Note (PAN) is asking the client to resend the current request to the location supplied in the response headers (see Section 10.3.2 of the HTTP/1.1 spec) and to direct all future requests to that new node until further notice. An authorization parameter will be supplied in the location header. This parameter should be included in the request to the new PAN. It is possible that a future Moved Permanently will be received redirecting to yet another PAN (in that respect, the response is slightly misnamed). The second type of redirect response DX Storage might send is the 307 Temporary Redirect. This response asks the client to resend the current request to the location supplied in the response headers, but to continue using the original PAN for the next request until further notice. 4.4. Formatting SCSP Commands for Named and Unnamed Objects All commands have one of the following formats: • Named objects (5.0 and later): METHOD /bucketname/objectname[?query-arguments] HTTP/1.1 Copyright © 2010 Caringo, Inc. All rights reserved 17 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
17
Version 5.0
December 2010
302: "Found",
303: "See Other",
304: "Not Modified",
305: "Use Proxy",
307: "Temporary Redirect",
400: "Bad Request",
401: "Unauthorized",
402: "Payment Required",
403: "Forbidden",
404: "Not Found",
405: "Method Not Allowed",
406: "Not Acceptable",
407: "Proxy Authentication Required",
408: "Request Time-out",
409: "Conflict",
410: "Gone",
411: "Length Required",
412: "Precondition Failed",
413: "Request Entity Too Large",
414: "Request-URI Too Long",
415: "Unsupported Media Type",
416: "Requested Range not satisfiable",
417: "Expectation Failed",
500: "Internal Server Error",
501: "Not Implemented",
502: "Bad Gateway",
503: "Service Unavailable",
504: "Gateway Time-out",
505: "HTTP Version not supported",
507: "Insufficient Storage Space"
4.3.2. Redirect Responses
Client applications must be able to accept and properly interpret two different kinds of redirect
responses. If DX Storage returns a
301 Moved Permanently
response, this means the Primary
Access Note (PAN) is asking the client to resend the current request to the
location
supplied in the
response headers (see
Section 10.3.2
of the HTTP/1.1 spec)
and
to direct all future requests to that
new node until further notice.
An authorization parameter will be supplied in the location header. This parameter should be
included in the request to the new PAN. It is possible that a future
Moved Permanently
will be
received redirecting to yet another PAN (in that respect, the response is slightly misnamed).
The second type of redirect response DX Storage might send is the
307 Temporary Redirect
. This
response asks the client to resend the current request to the
location
supplied in the response
headers, but to continue using the original PAN for the next request until further notice.
4.4. Formatting SCSP Commands for Named and Unnamed Objects
All commands have one of the following formats:
Named objects
(5.0 and later):
METHOD
/
bucketname
/
objectname
[?
query-arguments
]
HTTP/1.1