mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
net: Make most of the resource task messages serializable.
This commit is contained in:
parent
7e77285745
commit
9c9d7dc93b
15 changed files with 373 additions and 105 deletions
|
@ -84,7 +84,7 @@ impl ParserContext {
|
|||
|
||||
impl AsyncResponseListener for ParserContext {
|
||||
fn headers_available(&self, metadata: Metadata) {
|
||||
let content_type = metadata.content_type.clone();
|
||||
let content_type = metadata.content_type.clone().map(|content_type| content_type.0);
|
||||
|
||||
let parser = ScriptTask::page_fetch_complete(self.id.clone(), self.subpage.clone(),
|
||||
metadata);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue