S3ResponseProperties Struct Reference

#include <libs3.h>

List of all members.

Public Attributes

const char * requestId
const char * requestId2
const char * contentType
uint64_t contentLength
const char * server
const char * eTag
int64_t lastModified
int metaDataCount
const S3NameValuemetaData


Detailed Description

S3ResponseProperties is passed to the properties callback function which is called when the complete response properties have been received. Some of the fields of this structure are optional and may not be provided in the response, and some will always be provided in the response.

Member Data Documentation

This optional field identifies the request ID and may be used when reporting problems to Amazon.

This optional field identifies the request ID and may be used when reporting problems to Amazon.

This optional field is the content type of the data which is returned by the request. If not provided, the default can be assumed to be "binary/octet-stream".

This optional field is the content length of the data which is returned in the response. A negative value means that this value was not provided in the response. A value of 0 means that there is no content provided. A positive value gives the number of bytes in the content of the response.

This optional field names the server which serviced the request.

This optional field provides a string identifying the unique contents of the resource identified by the request, such that the contents can be assumed not to be changed if the same eTag is returned at a later time decribing the same resource. This is an MD5 sum of the contents.

This optional field provides the last modified time, relative to the Unix epoch, of the contents. If this value is < 0, then the last modified time was not provided in the response. If this value is >= 0, then the last modified date of the contents are available as a number of seconds since the UNIX epoch.

This is the number of user-provided meta data associated with the resource.

These are the meta data associated with the resource. In each case, the name will not include any S3-specific header prefixes (i.e. x-amz-meta- will have been removed from the beginning), and leading and trailing whitespace will have been stripped from the value.


The documentation for this struct was generated from the following file:

Generated on Fri Feb 13 02:08:35 2009 for libs3 by  doxygen 1.5.7.1