mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
Merge pull request #17967 from tone-zhang/bug_21554
rgw: add "Accept-Ranges" to response header of Swift API Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com> Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
This commit is contained in:
commit
0c7042b344
@ -174,6 +174,7 @@ void RGWListBuckets_ObjStore_SWIFT::send_response_begin(bool has_buckets)
|
||||
user_quota,
|
||||
static_cast<RGWAccessControlPolicy_SWIFTAcct&>(*s->user_acl));
|
||||
dump_errno(s);
|
||||
dump_header(s, "Accept-Ranges", "bytes");
|
||||
end_header(s, NULL, NULL, NO_CONTENT_LENGTH, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user