mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Refuse to provide partial response from earlier ranged request to API that did not make a range request (#36227)
Part of https://github.com/servo/servo/issues/33616 Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
272da2981d
commit
bc898da5de
4 changed files with 51 additions and 13 deletions
|
@ -54,6 +54,7 @@ impl ProtocolHandler for BlobProtocolHander {
|
|||
response.status = HttpStatus::default();
|
||||
|
||||
if is_range_request {
|
||||
response.range_requested = true;
|
||||
partial_content(&mut response);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue