1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
use *;
/// The horizontal tab allowed within a field value.
pub const HTTP_HEADER_TAB: u8 = b'\t';
/// The quote delimiting an entity-tag opaque value.
pub const ENTITY_TAG_QUOTE: u8 = b'"';
/// The ASCII delete control byte.
pub const HTTP_HEADER_DELETE: u8 = 0x7f;
/// The wildcard matching an existing representation.
pub const ENTITY_TAG_WILDCARD: & = b"*";
/// The separator between entity-tags in an HTTP list.
pub const ENTITY_TAG_SEPARATOR: u8 = b',';
/// The line feed terminating a header line.
pub const HTTP_HEADER_LINE_FEED: char = '\n';
/// The case-sensitive prefix marking a weak entity-tag.
pub const ENTITY_TAG_WEAK_PREFIX: & = b"W/";
/// The whitespace and empty list members ignored before an entity-tag.
pub const ENTITY_TAG_LIST_PADDING: & = b" \t,";
/// The first byte outside the ASCII control range.
pub const HTTP_HEADER_CONTROL_LIMIT: u8 = 0x20;
/// The request version that requires a Host field.
pub const HTTP_HOST_REQUIRED_VERSION: RequestVersion = Http1_1;
/// The carriage return preceding a line feed.
pub const HTTP_HEADER_CARRIAGE_RETURN: char = '\r';
/// The punctuation allowed within an HTTP field name.
pub const HTTP_HEADER_TOKEN_PUNCTUATION: & = b"!#$%&'*+-.^_`|~";
/// The request transfer coding field.
pub const HTTP_HEADER_TRANSFER_ENCODING: &str = "transfer-encoding";
/// The field announcing names that might appear as trailers.
pub const HTTP_HEADER_TRAILER: &str = "trailer";
/// The whitespace allowed around an entity-tag list member.
pub const ENTITY_TAG_OPTIONAL_WHITESPACE: & = b" \t";
/// The only whitespace allowed around a field value.
pub const HTTP_HEADER_OPTIONAL_WHITESPACE: = ;