aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlhttprequest.rs
diff options
context:
space:
mode:
authorNaveen Gattu <naveen.gattu@gmail.com>2021-12-23 11:15:35 -0800
committerNaveen Gattu <naveen.gattu@gmail.com>2022-01-16 09:34:17 -0800
commita48a111cee6298f4628d4ae12b60a43c1b17cecf (patch)
treeaf1ff0300471853886267631e2d66c937a604e9e /components/script/dom/xmlhttprequest.rs
parent5df705a41f6c4c1f2ffeec257dfe0129ce5fa8e0 (diff)
downloadservo-a48a111cee6298f4628d4ae12b60a43c1b17cecf.tar.gz
servo-a48a111cee6298f4628d4ae12b60a43c1b17cecf.zip
Upgrade Hyper
Diffstat (limited to 'components/script/dom/xmlhttprequest.rs')
-rw-r--r--components/script/dom/xmlhttprequest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/xmlhttprequest.rs b/components/script/dom/xmlhttprequest.rs
index b6adac383b7..1c6db3a5953 100644
--- a/components/script/dom/xmlhttprequest.rs
+++ b/components/script/dom/xmlhttprequest.rs
@@ -45,7 +45,7 @@ use headers::{ContentLength, ContentType, HeaderMapExt};
use html5ever::serialize;
use html5ever::serialize::SerializeOpts;
use http::header::{self, HeaderMap, HeaderName, HeaderValue};
-use hyper::Method;
+use http::Method;
use hyper_serde::Serde;
use ipc_channel::ipc;
use ipc_channel::router::ROUTER;