feat(headers): add AcceptLanguage header
Adds header support for Accept-Language, using a struct for the primary and sub components of the language.
This commit is contained in:
		| @@ -9,6 +9,7 @@ | ||||
| pub use self::access_control::*; | ||||
| pub use self::accept::Accept; | ||||
| pub use self::accept_encoding::AcceptEncoding; | ||||
| pub use self::accept_language::AcceptLanguage; | ||||
| pub use self::allow::Allow; | ||||
| pub use self::authorization::{Authorization, Scheme, Basic}; | ||||
| pub use self::cache_control::{CacheControl, CacheDirective}; | ||||
| @@ -147,6 +148,7 @@ macro_rules! impl_header( | ||||
| mod access_control; | ||||
| mod accept; | ||||
| mod accept_encoding; | ||||
| mod accept_language; | ||||
| mod allow; | ||||
| mod authorization; | ||||
| mod cache_control; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user