libs3
trunk
|
#include <libs3.h>
Data Fields | |
int64_t | ifModifiedSince |
int64_t | ifNotModifiedSince |
const char * | ifMatchETag |
const char * | ifNotMatchETag |
S3GetConditions is used for the get_object operation, and specifies conditions which the object must meet in order to be successfully returned.
int64_t S3GetConditions::ifModifiedSince |
The request will be processed if the Last-Modification header of the object is greater than or equal to this value, specified as a number of seconds since Unix epoch. If this value is less than zero, it will not be used in the conditional.
int64_t S3GetConditions::ifNotModifiedSince |
The request will be processed if the Last-Modification header of the object is less than this value, specified as a number of seconds since Unix epoch. If this value is less than zero, it will not be used in the conditional.
const char* S3GetConditions::ifMatchETag |
If non-NULL, this gives an eTag header value which the object must match in order to be returned. Note that altough the eTag is simply an MD5, this must be presented in the S3 eTag form, which typically includes double-quotes.
const char* S3GetConditions::ifNotMatchETag |
If non-NULL, this gives an eTag header value which the object must not match in order to be returned. Note that altough the eTag is simply an MD5, this must be presented in the S3 eTag form, which typically includes double-quotes.