Comment 0 for bug 1857546

Revision history for this message
Andrej Rapoport (rapoport) wrote :

When putting new objects into the storage using the auto-extract feature headers like X-DELETE-AT or X-DELETE-AFTER are not saved. No such headers appear on a created objects. As a result objects are not deleted as expected.

Same command without the extract-archive option saves the file to the storage and sets the header properly.

Happens on Swift 2.22.1.dev67

Our provider claims that it appeared after upgrading from Swift 2.18 to 2.22. Unfortunately I cannot test on other versions. But I can confirm that it was working before.

Command to reproduce:

curl -f -i -XPUT -H 'x-auth-token: [...]' -H 'X-Delete-After: 600' https://storage.example.org/v1/aaa/bbb/ccc/?extract-archive=tar.gz -T test.tar.gz