You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/conditional-etag.mjs
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ export default {
5
5
spec_anchors: ['validation.model'],
6
6
tests: [
7
7
{
8
-
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag`.',
8
+
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag`',
9
9
id: 'conditional-etag-strong-respond',
10
10
kind: 'optimal',
11
11
browser_skip: true,
@@ -28,7 +28,7 @@ export default {
28
28
]
29
29
},
30
30
{
31
-
name: 'HTTP cache must include `ETag` in a `304 Not Modified`.',
31
+
name: 'HTTP cache must include `ETag` in a `304 Not Modified`',
32
32
id: 'conditional-304-etag',
33
33
depends_on: ['conditional-etag-strong-respond'],
34
34
browser_skip: true,
@@ -107,7 +107,7 @@ export default {
107
107
]
108
108
},
109
109
{
110
-
name: 'HTTP cache responds to unquoted `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag` that is quoted.',
110
+
name: 'HTTP cache responds to unquoted `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag` that is quoted',
111
111
id: 'conditional-etag-quoted-respond-unquoted',
112
112
kind: 'check',
113
113
depends_on: ['conditional-etag-strong-respond'],
@@ -131,7 +131,7 @@ export default {
131
131
]
132
132
},
133
133
{
134
-
name: 'HTTP cache responds to unquoted `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag` that is unquoted.',
134
+
name: 'HTTP cache responds to unquoted `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag` that is unquoted',
135
135
id: 'conditional-etag-unquoted-respond-unquoted',
136
136
kind: 'check',
137
137
depends_on: ['conditional-etag-strong-respond'],
@@ -155,7 +155,7 @@ export default {
155
155
]
156
156
},
157
157
{
158
-
name: 'HTTP cache responds to quoted `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag` that is unquoted.',
158
+
name: 'HTTP cache responds to quoted `If-None-Match` with a `304` when holding a fresh response with a matching strong `ETag` that is unquoted',
159
159
id: 'conditional-etag-unquoted-respond-quoted',
160
160
kind: 'check',
161
161
depends_on: ['conditional-etag-strong-respond'],
@@ -179,7 +179,7 @@ export default {
179
179
]
180
180
},
181
181
{
182
-
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`.',
182
+
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`',
183
183
id: 'conditional-etag-weak-respond',
184
184
kind: 'optimal',
185
185
browser_skip: true,
@@ -202,7 +202,7 @@ export default {
202
202
]
203
203
},
204
204
{
205
-
name: 'HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`, and the entity-tag weakness flag is lowercase.',
205
+
name: 'HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`, and the entity-tag weakness flag is lowercase',
206
206
id: 'conditional-etag-weak-respond-lowercase',
207
207
kind: 'check',
208
208
depends_on: ['conditional-etag-weak-respond'],
@@ -226,7 +226,7 @@ export default {
226
226
]
227
227
},
228
228
{
229
-
name: 'HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`, and the entity-tag weakness flag uses `\\` instead of `/`.',
229
+
name: 'HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`, and the entity-tag weakness flag uses `\\` instead of `/`',
230
230
id: 'conditional-etag-weak-respond-backslash',
231
231
kind: 'check',
232
232
depends_on: ['conditional-etag-weak-respond'],
@@ -250,7 +250,7 @@ export default {
250
250
]
251
251
},
252
252
{
253
-
name: 'HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`, and the entity-tag weakness flag omits `/`.',
253
+
name: 'HTTP cache responds to `If-None-Match` with a `304` when holding a fresh response with a matching weak `ETag`, and the entity-tag weakness flag omits `/`',
254
254
id: 'conditional-etag-weak-respond-omit-slash',
255
255
depends_on: ['conditional-etag-weak-respond'],
256
256
kind: 'check',
@@ -274,7 +274,7 @@ export default {
274
274
]
275
275
},
276
276
{
277
-
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when it contains multiple entity-tags (first one).',
277
+
name: 'An optimal HTTP cache responds to `If-None-Match` with a `304` when it contains multiple entity-tags (first one)',
Copy file name to clipboardExpand all lines: tests/conditional-lm.mjs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ export default {
5
5
spec_anchors: ['validation.model'],
6
6
tests: [
7
7
{
8
-
name: 'An optimal HTTP cache responds to `If-Modified-Since` with a `304` when holding a fresh response with a matching `Last-Modified`.',
8
+
name: 'An optimal HTTP cache responds to `If-Modified-Since` with a `304` when holding a fresh response with a matching `Last-Modified`',
9
9
id: 'conditional-lm-fresh',
10
10
kind: 'optimal',
11
11
browser_skip: true,
@@ -30,7 +30,7 @@ export default {
30
30
]
31
31
},
32
32
{
33
-
name: 'An optimal HTTP cache responds to `If-Modified-Since` with a `304` when holding a fresh response with an earlier `Last-Modified`.',
33
+
name: 'An optimal HTTP cache responds to `If-Modified-Since` with a `304` when holding a fresh response with an earlier `Last-Modified`',
34
34
id: 'conditional-lm-fresh-earlier',
35
35
kind: 'optimal',
36
36
browser_skip: true,
@@ -55,7 +55,7 @@ export default {
55
55
]
56
56
},
57
57
{
58
-
name: 'An optimal HTTP cache responds to `If-Modified-Since` with a `304` when holding a stale response with a matching `Last-Modified`, after validation.',
58
+
name: 'An optimal HTTP cache responds to `If-Modified-Since` with a `304` when holding a stale response with a matching `Last-Modified`, after validation',
0 commit comments