@@ -3119,6 +3119,9 @@ steps:
3119
3119
<p class=note><i> CORS flag</i> is still a bookkeeping detail. As is
3120
3120
<i> authentication-fetch flag</i> .
3121
3121
3122
+ <p class=note> Some implementations might support caching of partial content, as per <cite> HTTP
3123
+ Range Requests</cite> . [[HTTP-RANGE]] However, this is not widely supported by browser caches.
3124
+
3122
3125
<ol>
3123
3126
<li><p> Let <var> httpRequest</var> be null.
3124
3127
@@ -3345,7 +3348,7 @@ steps:
3345
3348
3346
3349
<li><p> Let <var> response</var> and <var> storedResponse</var> be null.
3347
3350
3348
- <li><p> Let the <var> revalidatingFlag</var> and <var> partialFlag </var> be unset.
3351
+ <li><p> Let the <var> revalidatingFlag</var> be unset.
3349
3352
3350
3353
<li>
3351
3354
<p> If <var> httpRequest</var> 's <a for=request>cache mode</a> is neither "<code> no-store</code> "
@@ -3369,11 +3372,6 @@ steps:
3369
3372
<li><p> If <var> storedResponse</var> requires validation (i.e., it is not fresh), then set the
3370
3373
<var> revalidatingFlag</var> .
3371
3374
3372
- <li><p> If <var> storedResponse</var> is not complete, then set the <var> partialFlag</var> .
3373
-
3374
- <li><p> If <var> httpRequest</var> 's <a for=request>cache mode</a> is "<code> only-if-cached</code> "
3375
- and the <var> partialFlag</var> is set, then abort these substeps.
3376
-
3377
3375
<li>
3378
3376
<p> If <var> httpRequest</var> 's <a for=request>cache mode</a> is "<code> force-cache</code> " or
3379
3377
"<code> only-if-cached</code> ", then set <var> response</var> to <var> storedResponse</var> and
@@ -3382,14 +3380,8 @@ steps:
3382
3380
<p class=note> As mandated by HTTP, this still takes the `<code> Vary</code> ` <a>header</a>
3383
3381
into account.
3384
3382
3385
- <li><p> If both the <var> revalidatingFlag</var> and <var> partialFlag</var> are set,
3386
- <a for="header list">append</a> `<code> If-Range</code> ` with an appropriate value to
3387
- <var> httpRequest</var> 's <a for=request>header list</a> , as per the
3388
- "<a href=https://tools.ietf.org/html/rfc7233#section-3.2>If-Range</a> " chapter of
3389
- <cite> HTTP Range Requests</cite> . [[!HTTP-RANGE]]
3390
-
3391
3383
<li>
3392
- <p> If the <var> revalidatingFlag</var> is set and the <var> partialFlag </var> is unset , then:
3384
+ <p> If the <var> revalidatingFlag</var> is set, then:
3393
3385
3394
3386
<ol>
3395
3387
<li><p> If <var> storedResponse</var> 's <a for=response>header list</a>
@@ -3406,15 +3398,6 @@ steps:
3406
3398
<p class=note> See also the
3407
3399
"<a href=https://tools.ietf.org/html/rfc7234#section-4.3.4>Sending a Validation Request</a> "
3408
3400
chapter of <cite> HTTP Caching</cite> [[!HTTP-CACHING]] .
3409
-
3410
- <li><p> If the <var> revalidatingFlag</var> is unset and the <var> partialFlag</var> is set, then
3411
- <a for="header list">append</a> `<code> Range</code> ` with an appropriate value to
3412
- <var> httpRequest</var> 's <a for=request>header list</a> , as per the
3413
- "<a href=https://tools.ietf.org/html/rfc7233#section-3.1>Range</a> " chapter of
3414
- <cite> HTTP Range Requests</cite> . [[!HTTP-RANGE]]
3415
-
3416
- <li><p> If both the <var> revalidatingFlag</var> and <var> partialFlag</var> are unset, then set
3417
- <var> response</var> to <var> storedResponse</var> .
3418
3401
</ol>
3419
3402
3420
3403
<li>
@@ -3452,24 +3435,6 @@ steps:
3452
3435
3453
3436
</ol>
3454
3437
3455
- <li>
3456
- <p> If the <var> partialFlag</var> is set and <var> forwardResponse</var> 's
3457
- <a for=response>status</a> is <code> 206</code> , run these substeps:
3458
-
3459
- <ol>
3460
- <li>
3461
- <p> Update <var> storedResponse</var> 's <a for=response>header list</a> using
3462
- <var> forwardResponse</var> 's <a for=response>header list</a> , as per the
3463
- "<a href=https://tools.ietf.org/html/rfc7234#section-3.3>Combining Partial Content</a> " chapter
3464
- of <cite> HTTP Caching</cite> [[!HTTP-CACHING]] .
3465
-
3466
- <p class="note"> This updates the stored response in cache as well.
3467
-
3468
- <li><p> Set <var> response</var> to <var> storedResponse</var> .
3469
-
3470
- </ol>
3471
- <!-- TODO: account for partial request failure -->
3472
-
3473
3438
<li>
3474
3439
<p> If <var> response</var> is null, then run these substeps:
3475
3440
0 commit comments