Actions
Feature #10938
closedRGW Swift API: response for GET/HEAD on container does not contain the X-Timestamp header
% Done:
0%
Source:
other
Tags:
Backport:
hammer
Reviewed:
Affected Versions:
Pull request ID:
Description
RGW via civetweb: curl -X GET -H "X-Auth-Token: $token" -i http://localhost:8000/swift/v1/cont
HTTP/1.1 200 OK Content-type: text/plain; charset=utf-8 Date: Tue, 24 Feb 2015 17:15:43 GMT obj
Swift: curl -H "X-Auth-Token: $token" -X GET -i http://localhost:9090/v1/AUTH_test/cont
HTTP/1.1 200 OK Content-Length: 9 X-Container-Object-Count: 2 Accept-Ranges: bytes X-Timestamp: 1424789735.12920 X-Container-Bytes-Used: 0 Content-Type: text/plain; charset=utf-8 X-Trans-Id: tx746a1d9b80e34a4da6302-0054ecb312 Date: Tue, 24 Feb 2015 17:21:23 GMT obj obj2
The X-Timestamp header - in my opinion - is not mandatory according to the OpenStack Object Storage API v1. However, Swift sends it and preserving the compatibility would be nice.
See also: #8911, #10684.
Actions