Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Rings:2-TestDVD
ceph
0025-rgw-swift-GET-HEAD-object-returns-X.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0025-rgw-swift-GET-HEAD-object-returns-X.patch of Package ceph
From: Yehuda Sadeh <yehuda@redhat.com> Date: Tue, 30 Sep 2014 14:15:47 -0700 Subject: [PATCH] rgw: swift GET / HEAD object returns X-Timestamp field Fixes: #8911 Backport: giant, firefly, dumpling Swift clients expect X-Timestamp header, dump it. Signed-off-by: Yehuda Sadeh <yehuda@redhat.com> (cherry picked from commit 5b41d80b7fb9ed96c26801fc42c044191bb18d84) --- src/rgw/rgw_rest_swift.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rgw/rgw_rest_swift.cc b/src/rgw/rgw_rest_swift.cc index 36544db..68f2e3b 100644 --- a/src/rgw/rgw_rest_swift.cc +++ b/src/rgw/rgw_rest_swift.cc @@ -563,6 +563,7 @@ int RGWGetObj_ObjStore_SWIFT::send_response_data(bufferlist& bl, off_t bl_ofs, o dump_content_length(s, total_len); dump_last_modified(s, lastmod); + s->cio->print("X-Timestamp: %lld\r\n", (long long)lastmod); if (!ret) { map<string, bufferlist>::iterator iter = attrs.find(RGW_ATTR_ETAG);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor