aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/fetch
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-08-12 14:46:25 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2016-08-12 18:37:27 +0200
commit7ad51dcd7aff7658914bcbdde0800fc2f87d9fa5 (patch)
tree7c3323204e3fb5d85edcb95b97748962e3978ae1 /components/net/fetch
parenta22913569c2fa917015b23c27cb2f55de2a69ff2 (diff)
downloadservo-7ad51dcd7aff7658914bcbdde0800fc2f87d9fa5.tar.gz
servo-7ad51dcd7aff7658914bcbdde0800fc2f87d9fa5.zip
Update serde to 0.8 (fixes #12659)
Diffstat (limited to 'components/net/fetch')
-rw-r--r--components/net/fetch/methods.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs
index 15aa3d28c00..e38d434b277 100644
--- a/components/net/fetch/methods.rs
+++ b/components/net/fetch/methods.rs
@@ -19,6 +19,7 @@ use hyper::header::{IfNoneMatch, Pragma, Location, QualityItem, Referer as Refer
use hyper::method::Method;
use hyper::mime::{Mime, SubLevel, TopLevel};
use hyper::status::StatusCode;
+use hyper_serde::Serde;
use mime_guess::guess_mime_type;
use msg::constellation_msg::ReferrerPolicy;
use net_traits::FetchTaskTarget;
@@ -996,7 +997,8 @@ fn http_network_fetch(request: Rc<Request>,
if let Some(pipeline_id) = pipeline_id {
send_response_to_devtools(
&sender, request_id.into(),
- meta_headers, meta_status,
+ meta_headers.map(Serde::into_inner),
+ meta_status.map(Serde::into_inner),
pipeline_id);
}
}