Commit beba28f
committed
rgw: add wildcard "*" support for conditional read
- Enhanced If-Match and If-None-Match headers to support the wildcard "*".
- Updated conditional read behavior:
- If-Match: * now returns 200 instead of 412 when any object exists.
- If-None-Match: * now returns 304 instead of 200 when any object exists.
- If-Match: * + If-None-Match: * now returns 304 instead of 412.
- Aligns with AWS S3 expected functionality for improved efficiency.
Signed-off-by: sungjoon_koh <[email protected]>1 parent 7b5fe62 commit beba28f
2 files changed
+22
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1381 | 1381 | | |
1382 | 1382 | | |
1383 | 1383 | | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
1387 | 1391 | | |
1388 | 1392 | | |
1389 | 1393 | | |
1390 | 1394 | | |
1391 | 1395 | | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
1392 | 1400 | | |
1393 | 1401 | | |
1394 | 1402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7745 | 7745 | | |
7746 | 7746 | | |
7747 | 7747 | | |
7748 | | - | |
7749 | | - | |
7750 | | - | |
| 7748 | + | |
| 7749 | + | |
| 7750 | + | |
| 7751 | + | |
| 7752 | + | |
| 7753 | + | |
| 7754 | + | |
7751 | 7755 | | |
7752 | 7756 | | |
7753 | 7757 | | |
7754 | 7758 | | |
7755 | 7759 | | |
| 7760 | + | |
| 7761 | + | |
| 7762 | + | |
| 7763 | + | |
7756 | 7764 | | |
7757 | 7765 | | |
7758 | 7766 | | |
| |||
0 commit comments