rackspace/openstack.net — pull request #2 by asmajlovic (2013-05-08 17:21:39+00:00)
Title: Object copy requires a "Content-Length: 0" in the request

As per the RAX API docs for Cloud Files, object copy requests via a PUT need the content length specified to be zero:

http://docs.rackspace.com/files/api/v1/cf-devguide/content/Copy_Object-d1e2241.html

I have modified the relevant section to check only if the header has been defined and create the new dictionary if not. The content length is explicitly provided in an add call.