Dell DX6004S DX Object Storage Application Guide - Page 32
Scsp Write
View all Dell DX6004S manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 32 highlights
Chapter 6. SCSP WRITE The following topics in this chapter discuss details about SCSP WRITE: • Section 6.1, "Introduction to WRITE" • Section 6.3, "Unnamed Object WRITE Details" • Section 6.4, "Normal Responses to WRITE" • Section 6.5, "Error Responses to WRITE" 6.1. Introduction to WRITE This section discusses general information about SCSP WRITE that applies to both named and unnamed objects. The WRITE message is a request for a content stream to be stored in a DX Storage cluster. It is formatted as a simple HTTP request using the POST method as shown in the following examples: • Named object POST /bucket/photo.jpg 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 ] Note In contrast to an unnamed object, if you WRITE a named object that already exists, the existing object is overwritten with a new version. • Unnamed object POST / 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 ] Copyright © 2010 Caringo, Inc. All rights reserved 27 Version 5.0 December 2010