mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Send response for image requests progressively to image cache.
This commit is contained in:
parent
21118f0a8a
commit
0d2ec852ac
5 changed files with 59 additions and 58 deletions
|
@ -192,7 +192,7 @@ pub trait FetchTaskTarget {
|
|||
fn process_response_eof(&mut self, response: &Response);
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
#[derive(Clone, Serialize, Deserialize)]
|
||||
pub enum FilteredMetadata {
|
||||
Basic(Metadata),
|
||||
Cors(Metadata),
|
||||
|
@ -200,7 +200,7 @@ pub enum FilteredMetadata {
|
|||
OpaqueRedirect
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
#[derive(Clone, Serialize, Deserialize)]
|
||||
pub enum FetchMetadata {
|
||||
Unfiltered(Metadata),
|
||||
Filtered {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue