Upgrade headers, headers-core, and hyper_serde.

This commit is contained in:
Josh Matthews 2019-06-12 11:47:08 -04:00
parent 99cf263add
commit b1510d9ad5
25 changed files with 97 additions and 182 deletions

View file

@ -50,8 +50,7 @@ use crate::script_thread::MainThreadScriptMsg;
use crate::task_source::TaskSource;
use dom_struct::dom_struct;
use encoding_rs::{Encoding, UTF_8};
use headers_core::HeaderMapExt;
use headers_ext::ContentType;
use headers::{ContentType, HeaderMapExt};
use html5ever::{LocalName, Prefix};
use hyper::Method;
use mime::{self, Mime};