Project

General

Profile

Actions

Feature #10938

closed

RGW Swift API: response for GET/HEAD on container does not contain the X-Timestamp header

Added by Radoslaw Zarzynski about 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% 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 #1

Updated by Dmytro Yurchenko about 9 years ago

  • Assignee set to Radoslaw Zarzynski
Actions #3

Updated by Dmytro Yurchenko about 9 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Yehuda Sadeh about 9 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to hammer

Merged fixes, commit:b7e9bf6b98ee48d1977d907a9e5130c0ce073c54, commit:e54fef9

Actions #6

Updated by Loïc Dachary almost 9 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF