From e45d9e75d498da7d6d37ca0ca570f33e4bb8799f Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Mon, 29 Mar 2010 10:42:47 -0700 Subject: [PATCH] Issue 218: fixed to use PUT for initial CDN requests --- .../jclouds/rackspace/cloudfiles/CloudFilesAsyncClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rackspace/src/main/java/org/jclouds/rackspace/cloudfiles/CloudFilesAsyncClient.java b/rackspace/src/main/java/org/jclouds/rackspace/cloudfiles/CloudFilesAsyncClient.java index efd9009b87..faf9a2a9a6 100644 --- a/rackspace/src/main/java/org/jclouds/rackspace/cloudfiles/CloudFilesAsyncClient.java +++ b/rackspace/src/main/java/org/jclouds/rackspace/cloudfiles/CloudFilesAsyncClient.java @@ -147,7 +147,7 @@ public interface CloudFilesAsyncClient { /** * @see CloudFilesClient#enableCDN(String, long); */ - @POST + @PUT @Path("{container}") @Headers(keys = CloudFilesHeaders.CDN_ENABLED, values = "True") @ResponseParser(ParseCdnUriFromHeaders.class) @@ -158,7 +158,7 @@ public interface CloudFilesAsyncClient { /** * @see CloudFilesClient#enableCDN(String) */ - @POST + @PUT @Path("{container}") @Headers(keys = CloudFilesHeaders.CDN_ENABLED, values = "True") @ResponseParser(ParseCdnUriFromHeaders.class)