Project

General

Profile

Actions

Bug #45736

closed
IB CB

rgw: lack of headers in 304 response

Bug #45736: rgw: lack of headers in 304 response

Added by Ilsoo Byun over 6 years ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Due date:
% Done:

0%

Source:
Community (user)
Backport:
quincy reef
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v19.0.0-582-gf872a2cda0
Released In:
v19.2.0~963
Upkeep Timestamp:
2025-07-14T20:44:10+00:00

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.


Related issues 3 (0 open — 3 closed)

Has duplicate rgw - Enhancement #63507: 304 response is not RFC9110 compliantDuplicate

Actions
Copied to rgw - Backport #63960: reef: rgw: lack of headers in 304 responseResolvedCasey Bodley

Actions
Copied to rgw - Backport #63961: quincy: rgw: lack of headers in 304 responseResolvedCasey Bodley

Actions

CB Updated by Casey Bodley about 3 years ago Actions #1

  • Status changed from New to Fix Under Review
  • Backport set to quincy reef
  • Pull request ID changed from 35284 to 54587

CB Updated by Casey Bodley about 3 years ago Actions #2

CB Updated by Casey Bodley about 3 years ago Actions #3

  • Assignee set to Casey Bodley

KS Updated by Konstantin Shalygin about 3 years ago Actions #4

  • Tracker changed from Enhancement to Bug
  • Target version set to v19.0.0
  • Source set to Community (user)
  • Backport changed from quincy reef to pacific quincy reef
  • Regression set to No
  • Severity set to 3 - minor
  • Affected Versions v16.2.14, v17.2.7, v18.2.1 added

CB Updated by Casey Bodley almost 3 years ago Actions #5

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from pacific quincy reef to quincy reef

UB Updated by Upkeep Bot almost 3 years ago Actions #6

  • Copied to Backport #63960: reef: rgw: lack of headers in 304 response added

UB Updated by Upkeep Bot almost 3 years ago Actions #7

  • Copied to Backport #63961: quincy: rgw: lack of headers in 304 response added

UB Updated by Upkeep Bot over 1 year ago Actions #9

  • Merge Commit set to f872a2cda0858cfec7e7c0df6822d6699bfe7852
  • Fixed In set to v19.0.0-582-gf872a2cda08
  • Released In set to v19.2.0~963
  • Upkeep Timestamp set to 2025-07-09T18:56:40+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #10

  • Fixed In changed from v19.0.0-582-gf872a2cda08 to v19.0.0-582-gf872a2cda0
  • Upkeep Timestamp changed from 2025-07-09T18:56:40+00:00 to 2025-07-14T20:44:10+00:00

AE Updated by Adam Emerson 4 months ago Actions #11

  • Status changed from Pending Backport to Resolved
Actions

Also available in: PDF Atom