rackspace/java-cloudfiles — Issue #25: cdnUpdateContainer() throws 403 due to X-CDN-Enabled header being sent
Author: bipyjamas
Created: 2011-12-05 18:57:52+00:00
State: open

Howdy,

It looks like the cdnUpdateContainer() method is chucking back a HTTP 403 response as a result of the X-CDN-Enabled header being sent through to the CDN URL endpoint. Commenting out Line 1257 and recompiled things worked per normal.

I also verified this using curl with the Cloud Files API directory and there seems to be a fundamental change in how the CDN metadata update works now. The Rackspace Cloud Files documentation doesn't appear to reflect this however.

It seems like it makes sense as the CDN enabling/disabling is done via a PUT/DELETE to the CDN URL respectively.

Cheers,

-Anh