Bug #10708
openRGW swift API: POSTing multipart/form-data along with form data does not create object.
0%
Description
Steps to reproduce:
1. swift post container
2. swift post -H "x-account-meta-temp-url-key: secret"
3. keystone token-get
4. Now run this python program as following:
python post_object_formpost.py "https://10.20.20.15:80/swift/v1" container test secret 98de77368811432db1880cd2bbb88a0c
5. 4th step is giving output:
({'status': '404', 'content-length': '9', 'accept-ranges': 'bytes', 'server': 'Apache/2.4.7 (Ubuntu)', 'connection': 'close', 'date': 'Sun, 01 Feb 2015 17:52:35 GMT', 'access-control-allow-origin': '*', 'content-type': 'application/octet-stream'}, 'NoSuchKey')
6. On swift 4th step is giving output:
({'date': 'Fri, 30 Jan 2015 01:00:39 GMT', 'status': '201', 'content-length': '11', 'content-type': 'text/plain', 'x-trans-id': 'tx514490d9cb2943caa3bd0-0054cad7b7'}, '201 Created')