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

@ -9,8 +9,9 @@
use crate::fetch::methods::{Data, DoneChannel};
use crossbeam_channel::{unbounded, Sender};
use headers_core::HeaderMapExt;
use headers_ext::{CacheControl, ContentRange, Expires, LastModified, Pragma, Range, Vary};
use headers::{
CacheControl, ContentRange, Expires, HeaderMapExt, LastModified, Pragma, Range, Vary,
};
use http::header::HeaderValue;
use http::{header, HeaderMap};
use hyper::{Method, StatusCode};