Actions
Bug #45736
openrgw: lack of headers in 304 response
% Done:
0%
Source:
Community (user)
Tags:
s3 etag backport_processed
Backport:
quincy reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When returning 304(not modified) in response to a conditonal GET request, s3 returns response with headers like cache-control, etag, etc(https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorS3Origin.html#RequestS3ConditionalGETs).
HTTP RFC(https://tools.ietf.org/html/rfc7232#section-4.1) also explains that 304 responses have to contain headers guiding cache update.
But rgw does not return these headers.
Actions