Comment 12 for bug 1049017

Revision history for this message
gholt (gholt) wrote :

Ah, good catch. The -remove- form of deletion only works with meta headers and not with x-container-read and x-container-write. So in that case, this bug is valid. :)

That bug can be fixed in swift/proxy/controllers/base.py in the method Controller.transfer_headers

The idea is that you detect x-remove-container-read and x-remove-container-write and translate them to x-container-read and x-container-write headers with empty values, so they're sent that way to the backends. The backends don't need to know about the -remove- forms.