mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Upgrade headers, headers-core, and hyper_serde.
This commit is contained in:
parent
99cf263add
commit
b1510d9ad5
25 changed files with 97 additions and 182 deletions
|
@ -12,12 +12,9 @@ use crate::{
|
|||
use crossbeam_channel::{unbounded, Sender};
|
||||
use devtools_traits::HttpRequest as DevtoolsHttpRequest;
|
||||
use devtools_traits::HttpResponse as DevtoolsHttpResponse;
|
||||
use headers_core::HeaderMapExt;
|
||||
use headers_ext::{
|
||||
AccessControlAllowCredentials, AccessControlAllowHeaders, AccessControlAllowOrigin,
|
||||
};
|
||||
use headers_ext::{AccessControlAllowMethods, AccessControlMaxAge};
|
||||
use headers_ext::{
|
||||
use headers::{AccessControlAllowCredentials, AccessControlAllowHeaders, AccessControlAllowOrigin};
|
||||
use headers::{AccessControlAllowMethods, AccessControlMaxAge, HeaderMapExt};
|
||||
use headers::{
|
||||
CacheControl, ContentLength, ContentType, Expires, Host, LastModified, Pragma, UserAgent,
|
||||
};
|
||||
use http::header::{self, HeaderMap, HeaderName, HeaderValue};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue