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

Include container name in X-Object-Manifest header when creating DLO #261

Merged
merged 1 commit into from
Dec 10, 2013

Conversation

frankoid
Copy link
Contributor

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

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
Copy link
Contributor Author

Sorry, my previous pull request, #260, didn't actually allow DLOs to be created successfully because as well as changing the name of the header to X-Object-Manifest we need to include the container name in the header.

I have actually tested this version against Rackspace Cloud Files(!) Last time I just ran pyrax's unit tests, which use mocks instead.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 8a27b72 on brightinteractive:fix_258_continued into 9553f94 on rackspace:working.

EdLeafe added a commit that referenced this pull request Dec 10, 2013
Include container name in X-Object-Manifest header when creating DLO
@EdLeafe EdLeafe merged commit c67c130 into pycontribs:working Dec 10, 2013
@frankoid frankoid deleted the fix_258_continued branch December 10, 2013 16:47
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

Successfully merging this pull request may close these issues.

3 participants