http_types_rs/headers/
constants.rs1use super::HeaderName;
2
3pub const CONTENT_ENCODING: HeaderName = HeaderName::from_lowercase_str("content-encoding");
5pub const CONTENT_LANGUAGE: HeaderName = HeaderName::from_lowercase_str("content-language");
7pub const CONTENT_LENGTH: HeaderName = HeaderName::from_lowercase_str("content-length");
9pub const CONTENT_LOCATION: HeaderName = HeaderName::from_lowercase_str("content-location");
11pub const CONTENT_MD5: HeaderName = HeaderName::from_lowercase_str("content-md5");
13pub const CONTENT_RANGE: HeaderName = HeaderName::from_lowercase_str("content-range");
15pub const CONTENT_TYPE: HeaderName = HeaderName::from_lowercase_str("content-type");
17
18pub const COOKIE: HeaderName = HeaderName::from_lowercase_str("cookie");
20
21pub const SET_COOKIE: HeaderName = HeaderName::from_lowercase_str("set-cookie");
23
24pub const TRANSFER_ENCODING: HeaderName = HeaderName::from_lowercase_str("transfer-encoding");
26
27pub const DATE: HeaderName = HeaderName::from_lowercase_str("date");
29
30pub const HOST: HeaderName = HeaderName::from_lowercase_str("host");
32
33pub const ORIGIN: HeaderName = HeaderName::from_lowercase_str("origin");
35
36pub const ACCESS_CONTROL_MAX_AGE: HeaderName = HeaderName::from_lowercase_str("access-control-max-age");
38pub const ACCESS_CONTROL_ALLOW_ORIGIN: HeaderName = HeaderName::from_lowercase_str("access-control-allow-origin");
40pub const ACCESS_CONTROL_ALLOW_HEADERS: HeaderName = HeaderName::from_lowercase_str("access-control-allow-headers");
42pub const ACCESS_CONTROL_ALLOW_METHODS: HeaderName = HeaderName::from_lowercase_str("access-control-allow-methods");
44pub const ACCESS_CONTROL_EXPOSE_HEADERS: HeaderName = HeaderName::from_lowercase_str("access-control-expose-headers");
46pub const ACCESS_CONTROL_REQUEST_METHOD: HeaderName = HeaderName::from_lowercase_str("access-control-request-method");
48pub const ACCESS_CONTROL_REQUEST_HEADERS: HeaderName = HeaderName::from_lowercase_str("access-control-request-headers");
50pub const ACCESS_CONTROL_ALLOW_CREDENTIALS: HeaderName = HeaderName::from_lowercase_str("access-control-allow-credentials");
52
53pub const ACCEPT: HeaderName = HeaderName::from_lowercase_str("accept");
55pub const ACCEPT_CHARSET: HeaderName = HeaderName::from_lowercase_str("accept-charset");
57pub const ACCEPT_ENCODING: HeaderName = HeaderName::from_lowercase_str("accept-encoding");
59pub const ACCEPT_LANGUAGE: HeaderName = HeaderName::from_lowercase_str("accept-language");
61pub const ACCEPT_RANGES: HeaderName = HeaderName::from_lowercase_str("accept-ranges");
63
64pub const AGE: HeaderName = HeaderName::from_lowercase_str("age");
66
67pub const ALLOW: HeaderName = HeaderName::from_lowercase_str("allow");
69
70pub const AUTHORIZATION: HeaderName = HeaderName::from_lowercase_str("authorization");
72
73pub const CACHE_CONTROL: HeaderName = HeaderName::from_lowercase_str("cache-control");
75
76pub const CLEAR_SITE_DATA: HeaderName = HeaderName::from_lowercase_str("clear-site-data");
78
79pub const CONNECTION: HeaderName = HeaderName::from_lowercase_str("connection");
81
82pub const ETAG: HeaderName = HeaderName::from_lowercase_str("etag");
84
85pub const EXPECT: HeaderName = HeaderName::from_lowercase_str("expect");
87
88pub const EXPIRES: HeaderName = HeaderName::from_lowercase_str("expires");
90
91pub const FORWARDED: HeaderName = HeaderName::from_lowercase_str("forwarded");
93
94pub const FROM: HeaderName = HeaderName::from_lowercase_str("from");
96
97pub const IF_MATCH: HeaderName = HeaderName::from_lowercase_str("if-match");
99
100pub const IF_MODIFIED_SINCE: HeaderName = HeaderName::from_lowercase_str("if-modified-since");
102
103pub const IF_NONE_MATCH: HeaderName = HeaderName::from_lowercase_str("if-none-match");
105
106pub const IF_RANGE: HeaderName = HeaderName::from_lowercase_str("if-range");
108
109pub const IF_UNMODIFIED_SINCE: HeaderName = HeaderName::from_lowercase_str("if-unmodified-since");
111
112pub const LAST_MODIFIED: HeaderName = HeaderName::from_lowercase_str("last-modified");
114
115pub const LOCATION: HeaderName = HeaderName::from_lowercase_str("location");
117
118pub const MAX_FORWARDS: HeaderName = HeaderName::from_lowercase_str("max-forwards");
120
121pub const PRAGMA: HeaderName = HeaderName::from_lowercase_str("pragma");
123
124pub const PROXY_AUTHENTICATE: HeaderName = HeaderName::from_lowercase_str("proxy-authenticate");
126
127pub const PROXY_AUTHORIZATION: HeaderName = HeaderName::from_lowercase_str("proxy-authorization");
129
130pub const PROXY_CONNECTION: HeaderName = HeaderName::from_lowercase_str("proxy-connection");
132
133pub const REFERER: HeaderName = HeaderName::from_lowercase_str("referer");
135
136pub const RETRY_AFTER: HeaderName = HeaderName::from_lowercase_str("retry-after");
138
139pub const SERVER: HeaderName = HeaderName::from_lowercase_str("server");
141
142pub const SERVER_TIMING: HeaderName = HeaderName::from_lowercase_str("server-timing");
144
145pub const SOURCE_MAP: HeaderName = HeaderName::from_lowercase_str("sourcemap");
147
148pub const STRICT_TRANSPORT_SECURITY: HeaderName = HeaderName::from_lowercase_str("strict-transport-security");
150
151pub const TE: HeaderName = HeaderName::from_lowercase_str("te");
153
154pub const TIMING_ALLOW_ORIGIN: HeaderName = HeaderName::from_lowercase_str("timing-allow-origin");
156
157pub const TRACEPARENT: HeaderName = HeaderName::from_lowercase_str("traceparent");
159
160pub const TRAILER: HeaderName = HeaderName::from_lowercase_str("trailer");
162
163pub const UPGRADE: HeaderName = HeaderName::from_lowercase_str("upgrade");
165
166pub const USER_AGENT: HeaderName = HeaderName::from_lowercase_str("user-agent");
168
169pub const VARY: HeaderName = HeaderName::from_lowercase_str("vary");
171
172pub const VIA: HeaderName = HeaderName::from_lowercase_str("via");
174
175pub const WARNING: HeaderName = HeaderName::from_lowercase_str("warning");
177
178pub const WWW_AUTHENTICATE: HeaderName = HeaderName::from_lowercase_str("www-authenticate");