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);
|
* @see CloudFilesClient#enableCDN(String, long);
|
||||||
*/
|
*/
|
||||||
@POST
|
@PUT
|
||||||
@Path("{container}")
|
@Path("{container}")
|
||||||
@Headers(keys = CloudFilesHeaders.CDN_ENABLED, values = "True")
|
@Headers(keys = CloudFilesHeaders.CDN_ENABLED, values = "True")
|
||||||
@ResponseParser(ParseCdnUriFromHeaders.class)
|
@ResponseParser(ParseCdnUriFromHeaders.class)
|
||||||
|
@ -158,7 +158,7 @@ public interface CloudFilesAsyncClient {
|
||||||
/**
|
/**
|
||||||
* @see CloudFilesClient#enableCDN(String)
|
* @see CloudFilesClient#enableCDN(String)
|
||||||
*/
|
*/
|
||||||
@POST
|
@PUT
|
||||||
@Path("{container}")
|
@Path("{container}")
|
||||||
@Headers(keys = CloudFilesHeaders.CDN_ENABLED, values = "True")
|
@Headers(keys = CloudFilesHeaders.CDN_ENABLED, values = "True")
|
||||||
@ResponseParser(ParseCdnUriFromHeaders.class)
|
@ResponseParser(ParseCdnUriFromHeaders.class)
|
||||||
|
|
Loading…
Reference in New Issue