From d29938c88fb73b0feab8dcf030e88b60cf86be1e Mon Sep 17 00:00:00 2001 From: jamiechapman Date: Wed, 13 Aug 2014 15:06:24 +0100 Subject: [PATCH 1/2] Update OWS3Client.h --- OWS3Client/OWS3Client.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OWS3Client/OWS3Client.h b/OWS3Client/OWS3Client.h index f0f3f4e..cb630e4 100644 --- a/OWS3Client/OWS3Client.h +++ b/OWS3Client/OWS3Client.h @@ -122,4 +122,11 @@ cacheControl:(NSString*)cacheControl success:(void (^)(S3PutObjectResponse *responseObject))success failure:(void (^)(NSError *error))failure; + +/* Hack: Exposed raw PUT request operation, so that custom meta data can be provided with the request (not supported by other methods) */ +- (void) putS3ObjectRequest:(S3PutObjectRequest*)request + acl:(NSString*)acl + cacheControl:(NSString *)cacheControl + success:(void (^)(S3PutObjectResponse *responseObject))success + failure:(void (^)(NSError *error))failure; @end From 7a411d6d4b5eef2a8c0cf2ff5e26cc534746b861 Mon Sep 17 00:00:00 2001 From: jamiechapman Date: Wed, 13 Aug 2014 15:06:57 +0100 Subject: [PATCH 2/2] Update OWS3Client.h Exposed putS3ObjectRequest so that custom meta data can be provided with the request, since this is not supported by the other methods. --- OWS3Client/OWS3Client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OWS3Client/OWS3Client.h b/OWS3Client/OWS3Client.h index cb630e4..c61fda7 100644 --- a/OWS3Client/OWS3Client.h +++ b/OWS3Client/OWS3Client.h @@ -123,7 +123,7 @@ success:(void (^)(S3PutObjectResponse *responseObject))success failure:(void (^)(NSError *error))failure; -/* Hack: Exposed raw PUT request operation, so that custom meta data can be provided with the request (not supported by other methods) */ +/* Hack:: Exposed raw PUT request operation, so that custom meta data can be provided with the request (not supported by other methods) */ - (void) putS3ObjectRequest:(S3PutObjectRequest*)request acl:(NSString*)acl cacheControl:(NSString *)cacheControl