feat(headers): adds Accept

Moved utils to shared/. Added quality_value.
This commit is contained in:
Pyfisch
2014-12-29 17:43:41 -08:00
committed by Sean McArthur
parent 08cc8aadcb
commit 76126fc6c7
29 changed files with 393 additions and 155 deletions

View File

@@ -1,6 +1,6 @@
use header::{Header, HeaderFormat, CaseInsensitive};
use std::fmt::{mod};
use super::util::{from_comma_delimited, fmt_comma_delimited, from_one_raw_str};
use header::shared::util::{from_comma_delimited, fmt_comma_delimited, from_one_raw_str};
/// The `Allow` header.
/// See also https://tools.ietf.org/html/rfc7231#section-7.1.4