Dell DX6004S DX Object Storage Application Guide - Page 39
Scsp Update
View all Dell DX6004S manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 39 highlights
Chapter 8. SCSP UPDATE The following topics in this chapter discuss details about SCSP UPDATE: • Section 8.1, "Introduction to UPDATE" • Section 8.2, "Unnamed Object UPDATE Details" 8.1. Introduction to UPDATE This section discusses general information about SCSP UPDATE that applies to both named and unnamed objects. UPDATE is a request for a specific named object or unnamed anchor stream object to be modified with a new stream target. The UPDATE request is formatted as a simple HTTP request using the PUT method as shown in the following examples: • Named object PUT /bucket/file.txt HTTP/1.1 Host: cluster.example.com User-Agent: DX Storage Client/0.1 Content-Length: 43402 Expect: 100-continue Content-Type: image/jpeg Content-Language: en/us, x-pig-latin Content-Version: 42 Last-Modified: Wed, 1 Sept 2010 15:59:02 GMT Created-Date: Wed, 1 Sept 2010 15:59:02 GMT CRLF [ content-stream ] • Unnamed object PUT /06eec5e2c3f1aadcb41ef7fd52adc049 HTTP/1.1 Host: cluster.example.com User-Agent: DX Storage Client/0.1 Content-Length: 43402 Expect: 100-continue Content-Type: image/jpeg Content-Language: en/us, x-pig-latin Content-Version: 42 Last-Modified: Wed, 1 Sept 2010 15:59:02 GMT Created-Date: Wed, 1 Sept 2010 15:59:02 GMT CRLF [ content-stream ] PUT returns a 404 (Not Found) error if the object name or UUID you specify in the command does not exist. 8.2. Unnamed Object UPDATE Details If UPDATE succeeds on an unnamed anchor stream object, the content sent in the body of the request will be written as a new stream, the anchor stream specified in the first line of the HTTP PUT will be updated to point to the new stream, and the original UUID of the stream is returned to the client. The UPDATE request is formatted as a simple HTTP request using the PUT method as Copyright © 2010 Caringo, Inc. All rights reserved 34 Version 5.0 December 2010