rustup: sweeping fixes for all the changes in 1.0-alpha
- Some switches to u64 instead of usize - For now, allow(unstable) - use associated types for all the Network stuff
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use header::{Header, HeaderFormat, CaseInsensitive};
|
||||
use header::{Header, HeaderFormat};
|
||||
use std::fmt::{self};
|
||||
use header::shared::util::{from_comma_delimited, fmt_comma_delimited, from_one_raw_str};
|
||||
use unicase::UniCase;
|
||||
|
||||
/// The `Allow` header.
|
||||
/// See also https://tools.ietf.org/html/rfc7231#section-7.1.4
|
||||
@@ -10,7 +11,7 @@ pub enum Vary {
|
||||
/// This corresponds to '*'.
|
||||
Any,
|
||||
/// The header field names which will influence the response representation.
|
||||
Headers(Vec<CaseInsensitive>),
|
||||
Headers(Vec<UniCase<String>>),
|
||||
}
|
||||
|
||||
impl Header for Vary {
|
||||
|
||||
Reference in New Issue
Block a user