Skip to content

Commit f4977b5

Browse files
committed
remove some 7234 refs
1 parent ed5dfcc commit f4977b5

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tests/other.mjs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default
1010
description: 'These tests check miscellaneous HTTP cache behaviours. ',
1111
tests: [
1212
{
13-
name: 'HTTP cache [must generate](https://httpwg.org/specs/rfc7234.html#constructing.responses.from.caches) an [`Age` header](https://httpwg.org/specs/rfc7234.html#header.age) when using a stored response.',
13+
name: 'HTTP cache must generate an `Age` header field when using a stored response.',
1414
id: 'other-age-gen',
1515
spec_anchors: ['field.age', 'constructing.responses.from.caches'],
1616
requests: [
@@ -31,9 +31,9 @@ export default
3131
]
3232
},
3333
{
34-
name: 'HTTP cache [must update](https://httpwg.org/specs/rfc7234.html#constructing.responses.from.caches) the [`Age` header](https://httpwg.org/specs/rfc7234.html#header.age) when freshness is based upon `Expires`',
34+
name: 'HTTP cache must update the `Age` header field when freshness is based upon `Expires`',
3535
id: 'other-age-update-expires',
36-
spec_anchors: ['field.age'],
36+
spec_anchors: ['constructing.responses.from.caches', 'field.age'],
3737
requests: [
3838
{
3939
response_headers: [
@@ -53,9 +53,9 @@ export default
5353
]
5454
},
5555
{
56-
name: 'HTTP cache [must update](https://httpwg.org/specs/rfc7234.html#constructing.responses.from.caches) the [`Age` header](https://httpwg.org/specs/rfc7234.html#header.age) when freshness is based upon `CC: max-age`',
56+
name: 'HTTP cache must update the `Age` header field when freshness is based upon `CC: max-age`',
5757
id: 'other-age-update-max-age',
58-
spec_anchors: ['field.age'],
58+
spec_anchors: ['constructing.responses.from.caches', 'field.age'],
5959
requests: [
6060
{
6161
response_headers: [
@@ -75,8 +75,9 @@ export default
7575
]
7676
},
7777
{
78-
name: 'HTTP cache must not update the [`Date` header](https://httpwg.org/specs/rfc7231.html#header.date)',
78+
name: 'HTTP cache must not update the `Date` header field',
7979
id: 'other-date-update',
80+
spec_anchors: ['field.date'],
8081
requests: [
8182
{
8283
response_headers: [

0 commit comments

Comments
 (0)