6
6
//! strongly-typed theme, the [mime](https://docs.rs/mime) crate
7
7
//! is used, such as `ContentType(pub Mime)`.
8
8
9
+ pub use self :: accept_charset:: AcceptCharset ;
10
+ pub use self :: accept_encoding:: AcceptEncoding ;
11
+ pub use self :: accept_language:: AcceptLanguage ;
12
+ pub use self :: accept_ranges:: { AcceptRanges , RangeUnit } ;
9
13
pub use self :: accept:: Accept ;
10
14
pub use self :: access_control_allow_credentials:: AccessControlAllowCredentials ;
11
15
pub use self :: access_control_allow_headers:: AccessControlAllowHeaders ;
@@ -15,18 +19,14 @@ pub use self::access_control_expose_headers::AccessControlExposeHeaders;
15
19
pub use self :: access_control_max_age:: AccessControlMaxAge ;
16
20
pub use self :: access_control_request_headers:: AccessControlRequestHeaders ;
17
21
pub use self :: access_control_request_method:: AccessControlRequestMethod ;
18
- pub use self :: accept_charset:: AcceptCharset ;
19
- pub use self :: accept_encoding:: AcceptEncoding ;
20
- pub use self :: accept_language:: AcceptLanguage ;
21
- pub use self :: accept_ranges:: { AcceptRanges , RangeUnit } ;
22
22
pub use self :: allow:: Allow ;
23
23
pub use self :: authorization:: { Authorization , Scheme , Basic , Bearer } ;
24
24
pub use self :: cache_control:: { CacheControl , CacheDirective } ;
25
25
pub use self :: connection:: { Connection , ConnectionOption } ;
26
26
pub use self :: content_disposition:: { ContentDisposition , DispositionType , DispositionParam } ;
27
- pub use self :: content_length:: ContentLength ;
28
27
pub use self :: content_encoding:: ContentEncoding ;
29
28
pub use self :: content_language:: ContentLanguage ;
29
+ pub use self :: content_length:: ContentLength ;
30
30
pub use self :: content_location:: ContentLocation ;
31
31
pub use self :: content_range:: { ContentRange , ContentRangeSpec } ;
32
32
pub use self :: content_type:: ContentType ;
@@ -40,9 +40,10 @@ pub use self::host::Host;
40
40
pub use self :: if_match:: IfMatch ;
41
41
pub use self :: if_modified_since:: IfModifiedSince ;
42
42
pub use self :: if_none_match:: IfNoneMatch ;
43
- pub use self :: if_unmodified_since:: IfUnmodifiedSince ;
44
43
pub use self :: if_range:: IfRange ;
44
+ pub use self :: if_unmodified_since:: IfUnmodifiedSince ;
45
45
pub use self :: last_modified:: LastModified ;
46
+ pub use self :: link:: { Link , LinkValue , RelationType , MediaDesc } ;
46
47
pub use self :: location:: Location ;
47
48
pub use self :: origin:: Origin ;
48
49
pub use self :: pragma:: Pragma ;
@@ -60,7 +61,6 @@ pub use self::upgrade::{Upgrade, Protocol, ProtocolName};
60
61
pub use self :: user_agent:: UserAgent ;
61
62
pub use self :: vary:: Vary ;
62
63
pub use self :: warning:: Warning ;
63
- pub use self :: link:: { Link , LinkValue , RelationType , MediaDesc } ;
64
64
65
65
#[ doc( hidden) ]
66
66
#[ macro_export]
@@ -438,6 +438,10 @@ macro_rules! header {
438
438
}
439
439
440
440
441
+ mod accept_charset;
442
+ mod accept_encoding;
443
+ mod accept_language;
444
+ mod accept_ranges;
441
445
mod accept;
442
446
mod access_control_allow_credentials;
443
447
mod access_control_allow_headers;
@@ -447,14 +451,9 @@ mod access_control_expose_headers;
447
451
mod access_control_max_age;
448
452
mod access_control_request_headers;
449
453
mod access_control_request_method;
450
- mod accept_charset;
451
- mod accept_encoding;
452
- mod accept_language;
453
- mod accept_ranges;
454
454
mod allow;
455
455
mod authorization;
456
456
mod cache_control;
457
- mod cookie;
458
457
mod connection;
459
458
mod content_disposition;
460
459
mod content_encoding;
@@ -463,6 +462,7 @@ mod content_length;
463
462
mod content_location;
464
463
mod content_range;
465
464
mod content_type;
465
+ mod cookie;
466
466
mod date;
467
467
mod etag;
468
468
mod expect;
@@ -475,6 +475,7 @@ mod if_none_match;
475
475
mod if_range;
476
476
mod if_unmodified_since;
477
477
mod last_modified;
478
+ mod link;
478
479
mod location;
479
480
mod origin;
480
481
mod pragma;
@@ -492,4 +493,3 @@ mod upgrade;
492
493
mod user_agent;
493
494
mod vary;
494
495
mod warning;
495
- mod link;
0 commit comments