mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision b'e0214318249f1b6ea09b837db6eac7b0facd1b52'
This commit is contained in:
parent
3429e8fe3b
commit
febcb80385
141 changed files with 2568 additions and 986 deletions
|
@ -90,6 +90,27 @@ var tests = [
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "HTTP cache stores complete response and serves smaller ranges from it with only-if-cached",
|
||||
requests: [
|
||||
{
|
||||
response_headers: [
|
||||
["Cache-Control", "max-age=3600"]
|
||||
],
|
||||
response_body: "01234567890"
|
||||
},
|
||||
{
|
||||
request_headers: [
|
||||
['Range', "bytes=0-1"]
|
||||
],
|
||||
mode: "same-origin",
|
||||
cache: "only-if-cached",
|
||||
expected_type: "cached",
|
||||
expected_status: 206,
|
||||
expected_response_text: "01"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "HTTP cache stores partial response and serves smaller ranges from it (byte-range-spec)",
|
||||
requests: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue