Bug #10650
closedResponse header of swift API PUT /container/object returned by RGW does not contain last-modified, content-length, x-trans-id headers. But Swift returns these headers.
0%
Description
Steps to reproduce:
1. swift post container
2. curl -i https://object.jiocloud.com:80/swift/v1/container/file1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: 872b09e8fd42429dae728488de96cc74" -d ""
HTTP/1.1 201 Created
Date: Tue, 27 Jan 2015 10:57:54 GMT
Server: Apache/2.4.7 (Ubuntu)
etag: d41d8cd98f00b204e9800998ecf8427e
Access-Control-Allow-Origin: *
Content-Type: application/octet-stream
Connection: close
Transfer-Encoding: chunked
Response returned by swift:
curl -i http://10.0.2.15:8080/v1/AUTH_b2419ea9588d49ddbd8c006b5eb199ff/cont/file1 -X PUT -H "X-Auth-Token: e41014e4abc74cbd92c16772fa462dd5" -H "content-length: 0" -d ""
HTTP/1.1 201 Created
Last-Modified: Tue, 27 Jan 2015 11:02:49 GMT
Content-Length: 0
Etag: d41d8cd98f00b204e9800998ecf8427e
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx229a73e9c585467998ba4-0054c77057
Date: Tue, 27 Jan 2015 11:02:48 GMT