mirror of https://github.com/apache/jclouds.git
Issue 218: fixed to use PUT for initial CDN requests
This commit is contained in:
parent
b1f3f86337
commit
e45d9e75d4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue