Issue 218: fixed to use PUT for initial CDN requests

This commit is contained in:
Adrian Cole 2010-03-29 10:42:47 -07:00
parent b1f3f86337
commit e45d9e75d4
1 changed files with 2 additions and 2 deletions

View File

@ -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)