Dell DX6004S DX Object Storage SCSP Proxy Overview - Page 14

validationMode, scspproxy.cfg

Page 14 highlights

• The SDK returns a 50x for general request errors such as bad host name, unknown method, HTTP syntax errors, and so on. Your client might return other response codes for these types of errors. Outside of validation mode, headers or query arguments that are invalid are either silently ignored or trigger an error at the DX Storage server layer and return as SCSP errors to the client. To enable validate mode in the SCSP Proxy, change the value of the validationMode parameter in scspproxy.cfg file to True. The following items are currently checked by the proxy while in validation mode. Validation mode supports validation of lifepoint time inputs in RFC 1123 format. Validation GET Header: Lifepoint (date) Header: Lifepoint (deletion) Header: replica count Header: ContentLength Header: Allow Header: ContentType Header: ContentDisposition Query Argument: replicate Query V Argument: alias Query V Argument: validate Query V Argument: hashtype Query V Argument: hash HEAD POST V V V V V V V V V V V DELETE PUT V V V V V V V V V V V COPY V APPEND V V V V V V V V V V V V Copyright © 2010 Caringo, Inc. All rights reserved 11 Version 1.2 December 2010

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19

Copyright © 2010 Caringo, Inc.
All rights reserved
11
Version 1.2
December 2010
The SDK returns a 50
x
for general request errors such as bad host name, unknown method,
HTTP syntax errors, and so on.
Your client might return other response codes for these types of errors.
Outside of validation mode, headers or query arguments that are invalid are either silently ignored or
trigger an error at the DX Storage server layer and return as SCSP errors to the client.
To enable validate mode in the SCSP Proxy, change the value of the
validationMode
parameter
in
scspproxy.cfg
file to
True
.
The following items are currently checked by the proxy while in validation mode. Validation mode
supports validation of lifepoint time inputs in RFC 1123 format.
Validation
GET
HEAD
POST
DELETE
PUT
COPY
APPEND
Header:
Lifepoint
(date)
V
V
V
Header:
Lifepoint
(deletion)
V
V
V
Header:
replica
count
V
V
V
Header:
Content-
Length
V
V
V
Header:
Allow
V
V
V
Header:
Content-
Type
V
V
V
Header:
Content-
Disposition
V
V
V
Query
Argument:
replicate
V
V
V
V
Query
Argument:
alias
V
V
V
V
V
V
V
Query
Argument:
validate
V
Query
Argument:
hashtype
V
V
V
V
V
Query
Argument:
hash
V