Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLO upload to Cloudfiles uses incorrect header #258

Closed
JordanBright opened this issue Dec 2, 2013 · 1 comment
Closed

DLO upload to Cloudfiles uses incorrect header #258

JordanBright opened this issue Dec 2, 2013 · 1 comment

Comments

@JordanBright
Copy link

According to the API doc any DLO upload should use X-Object-Manifest however in cf_wrapper/client.py:784 we see X-Object-Meta-Manifest instead.

As far as I can tell this is just a mistake - is there any reason it's using X-Object-Meta-Manifest instead of X-Object-Manifest? If not I might be able to put together a pull request for it soon because at the moment downloads from the Rackspace cloud portal fail for DLOs uploaded by Pyrax.

@EdLeafe
Copy link
Contributor

EdLeafe commented Dec 2, 2013

Looks like this has changed since last year when the code was written. Then, all object-related headers had to begin with 'X-Object-Meta-'. If you can create a pull request against the working branch with this change, that would be appreciated.

frankoid pushed a commit to brightinteractive/pyrax that referenced this issue Dec 10, 2013
… DLO

This fixes 0-byte content when GETting Dynamic Large Objects (multipart files) created by pyrax from Rackspace Cloud Files (pycontribs#258).
frankoid pushed a commit to brightinteractive/pyrax that referenced this issue Dec 10, 2013
… DLO

This fixes 0-byte content when GETting Dynamic Large Objects (multipart files) created by pyrax from Rackspace Cloud Files (pycontribs#258).
frankoid pushed a commit to brightinteractive/pyrax that referenced this issue Dec 10, 2013
This is related to pycontribs#258, and fixes the following error when PUTting Dynamic Large Objects (multipart files):
    ClientException: Object PUT failed: https://storage101.dfw1.clouddrive.com:443/v1/MossoCloudFS_fab7bcd7-c313-4e3a-a55c-dea7ee252b1c/jordan-test/test 400 Bad Request   X-Object-Manifest must in the format container/prefix
frankoid pushed a commit to brightinteractive/pyrax that referenced this issue Dec 10, 2013
This is related to pycontribs#258, and fixes the following error when PUTting Dynamic Large Objects (multipart files):

ClientException: Object PUT failed: https://storage101.dfw1.clouddrive.com:443/v1/MossoCloudFS_fab7bcd7-c313-4e3a-a55c-dea7ee252b1c/jordan-test/test 400 Bad Request   X-Object-Manifest must in the format container/prefix
EdLeafe pushed a commit that referenced this issue Jan 27, 2014
… DLO

This fixes 0-byte content when GETting Dynamic Large Objects (multipart files) created by pyrax from Rackspace Cloud Files (#258).
EdLeafe pushed a commit that referenced this issue Jan 27, 2014
This is related to #258, and fixes the following error when PUTting Dynamic Large Objects (multipart files):

ClientException: Object PUT failed: https://storage101.dfw1.clouddrive.com:443/v1/MossoCloudFS_fab7bcd7-c313-4e3a-a55c-dea7ee252b1c/jordan-test/test 400 Bad Request   X-Object-Manifest must in the format container/prefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants