http_constant/header_value/
const.rs

1/// Basic authentication scheme.
2pub const BASIC: &str = "Basic";
3
4/// Indicates no-cache.
5pub const NO_CACHE: &str = "no-cache";
6
7/// Indicates keep-alive connection.
8pub const KEEP_ALIVE: &str = "keep-alive";
9
10/// Indicates chunked transfer encoding.
11pub const CHUNKED: &str = "chunked";
12
13/// Deny page from being framed.
14pub const DENY: &str = "DENY";
15
16/// Prevent MIME sniffing.
17pub const NOSNIFF: &str = "nosniff";
18
19/// Indicates an XMLHttpRequest (AJAX).
20pub const XMLHTTPREQUEST: &str = "XMLHttpRequest";
21
22/// Gzip compression.
23pub const GZIP: &str = "gzip";
24
25/// Deflate compression.
26pub const DEFLATE: &str = "deflate";
27
28/// Brotli compression.
29pub const BROTLI: &str = "br";
30
31/// No encoding (identity).
32pub const IDENTITY: &str = "identity";
33
34/// Accept any content type.
35pub const ACCEPT_ANY: &str = "*/*";
36
37/// Wildcard any.
38pub const WILDCARD_ANY: &str = "*";
39
40/// Prefer English language.
41pub const ENGLISH: &str = "en";
42
43/// Bearer token authentication.
44pub const BEARER: &str = "Bearer";
45
46/// Private caching.
47pub const PRIVATE: &str = "private";
48
49/// Public caching.
50pub const PUBLIC: &str = "public";
51
52/// Close the connection.
53pub const CLOSE: &str = "close";
54
55/// Allow framing only by same origin.
56pub const SAMEORIGIN: &str = "SAMEORIGIN";
57
58/// Charset
59pub const CHARSET: &str = "charset";
60
61/// Charset Equal
62pub const CHARSET_EQUAL: &str = "charset=";
63
64/// UTF-8
65pub const UTF8: &str = "utf-8";
66
67/// ASCII
68pub const ASCII: &str = "us-ascii";
69
70/// ISO-8859-1 (Latin-1)
71pub const ISO_8859_1: &str = "iso-8859-1";
72
73/// ISO-8859-2 (Latin-2, Central European)
74pub const ISO_8859_2: &str = "iso-8859-2";
75
76/// ISO-8859-3 (Latin-3, South European)
77pub const ISO_8859_3: &str = "iso-8859-3";
78
79/// ISO-8859-4 (Latin-4, North European)
80pub const ISO_8859_4: &str = "iso-8859-4";
81
82/// ISO-8859-5 (Cyrillic)
83pub const ISO_8859_5: &str = "iso-8859-5";
84
85/// ISO-8859-6 (Arabic)
86pub const ISO_8859_6: &str = "iso-8859-6";
87
88/// ISO-8859-7 (Greek)
89pub const ISO_8859_7: &str = "iso-8859-7";
90
91/// ISO-8859-8 (Hebrew)
92pub const ISO_8859_8: &str = "iso-8859-8";
93
94/// ISO-8859-9 (Latin-5, Turkish)
95pub const ISO_8859_9: &str = "iso-8859-9";
96
97/// ISO-8859-10 (Latin-6, Nordic)
98pub const ISO_8859_10: &str = "iso-8859-10";
99
100/// ISO-8859-11 (Thai)
101pub const ISO_8859_11: &str = "iso-8859-11";
102
103/// ISO-8859-13 (Latin-7, Baltic Rim)
104pub const ISO_8859_13: &str = "iso-8859-13";
105
106/// ISO-8859-14 (Latin-8, Celtic)
107pub const ISO_8859_14: &str = "iso-8859-14";
108
109/// ISO-8859-15 (Latin-9, Western European with € symbol)
110pub const ISO_8859_15: &str = "iso-8859-15";
111
112/// ISO-8859-16 (Latin-10, South-Eastern European)
113pub const ISO_8859_16: &str = "iso-8859-16";
114
115/// Windows-1250 (Central European)
116pub const WINDOWS_1250: &str = "windows-1250";
117
118/// Windows-1251 (Cyrillic)
119pub const WINDOWS_1251: &str = "windows-1251";
120
121/// Windows-1252 (Western European)
122pub const WINDOWS_1252: &str = "windows-1252";
123
124/// Windows-1253 (Greek)
125pub const WINDOWS_1253: &str = "windows-1253";
126
127/// Windows-1254 (Turkish)
128pub const WINDOWS_1254: &str = "windows-1254";
129
130/// Windows-1255 (Hebrew)
131pub const WINDOWS_1255: &str = "windows-1255";
132
133/// Windows-1256 (Arabic)
134pub const WINDOWS_1256: &str = "windows-1256";
135
136/// Windows-1257 (Baltic)
137pub const WINDOWS_1257: &str = "windows-1257";
138
139/// Windows-1258 (Vietnamese)
140pub const WINDOWS_1258: &str = "windows-1258";
141
142/// KOI8-R (Russian)
143pub const KOI8_R: &str = "koi8-r";
144
145/// KOI8-U (Ukrainian)
146pub const KOI8_U: &str = "koi8-u";
147
148/// Shift JIS (Japanese)
149pub const SHIFT_JIS: &str = "shift_jis";
150
151/// EUC-JP (Japanese)
152pub const EUC_JP: &str = "euc-jp";
153
154/// EUC-KR (Korean)
155pub const EUC_KR: &str = "euc-kr";
156
157/// GB2312 (Simplified Chinese)
158pub const GB2312: &str = "gb2312";
159
160/// Big5 (Traditional Chinese)
161pub const BIG5: &str = "big5";
162
163/// UTF-16 (16-bit Unicode)
164pub const UTF16: &str = "utf-16";
165
166/// UTF-16LE (UTF-16 Little Endian)
167pub const UTF16LE: &str = "utf-16le";
168
169/// UTF-16BE (UTF-16 Big Endian)
170pub const UTF16BE: &str = "utf-16be";
171
172/// UTF-32 (32-bit Unicode)
173pub const UTF32: &str = "utf-32";
174
175/// UTF-32LE (UTF-32 Little Endian)
176pub const UTF32LE: &str = "utf-32le";
177
178/// UTF-32BE (UTF-32 Big Endian)
179pub const UTF32BE: &str = "utf-32be";
180
181/// Charset utf8
182pub const CHARSET_UTF_8: &str = "charset=utf-8";
183
184/// Charset iso-8859-1
185pub const CHARSET_ISO_8859_1: &str = "charset=iso-8859-1";
186
187/// Charset windows-1252
188pub const CHARSET_WINDOWS_1252: &str = "charset=windows-1252";
189
190/// Charset shift_jis
191pub const CHARSET_SHIFT_JIS: &str = "charset=shift_jis";
192
193/// Charset gb2312
194pub const CHARSET_GB2312: &str = "charset=gb2312";
195
196/// Charset big5
197pub const CHARSET_BIG5: &str = "charset=big5";
198
199/// Charset utf-16
200pub const CHARSET_UTF_16: &str = "charset=utf-16";
201
202/// Charset utf-32
203pub const CHARSET_UTF_32: &str = "charset=utf-32";
204
205/// Charset macintosh
206pub const CHARSET_MACINTOSH: &str = "charset=macintosh";
207
208/// Charset euc-kr
209pub const CHARSET_EUC_KR: &str = "charset=euc-kr";
210
211/// Charset us-ascii
212pub const CHARSET_ASCII: &str = "charset=us-ascii";
213
214/// Charset iso-8859-2
215pub const CHARSET_ISO_8859_2: &str = "charset=iso-8859-2";
216
217/// Charset iso-8859-3
218pub const CHARSET_ISO_8859_3: &str = "charset=iso-8859-3";
219
220/// Charset iso-8859-4
221pub const CHARSET_ISO_8859_4: &str = "charset=iso-8859-4";
222
223/// Charset iso-8859-5
224pub const CHARSET_ISO_8859_5: &str = "charset=iso-8859-5";
225
226/// Charset iso-8859-6
227pub const CHARSET_ISO_8859_6: &str = "charset=iso-8859-6";
228
229/// Charset iso-8859-7
230pub const CHARSET_ISO_8859_7: &str = "charset=iso-8859-7";
231
232/// Charset iso-8859-8
233pub const CHARSET_ISO_8859_8: &str = "charset=iso-8859-8";
234
235/// Charset iso-8859-9
236pub const CHARSET_ISO_8859_9: &str = "charset=iso-8859-9";
237
238/// Charset iso-8859-10
239pub const CHARSET_ISO_8859_10: &str = "charset=iso-8859-10";
240
241/// Charset iso-8859-11
242pub const CHARSET_ISO_8859_11: &str = "charset=iso-8859-11";
243
244/// Charset iso-8859-13
245pub const CHARSET_ISO_8859_13: &str = "charset=iso-8859-13";
246
247/// Charset iso-8859-14
248pub const CHARSET_ISO_8859_14: &str = "charset=iso-8859-14";
249
250/// Charset iso-8859-15
251pub const CHARSET_ISO_8859_15: &str = "charset=iso-8859-15";
252
253/// Charset iso-8859-16
254pub const CHARSET_ISO_8859_16: &str = "charset=iso-8859-16";
255
256/// Charset windows-1250
257pub const CHARSET_WINDOWS_1250: &str = "charset=windows-1250";
258
259/// Charset windows-1251
260pub const CHARSET_WINDOWS_1251: &str = "charset=windows-1251";
261
262/// Charset windows-1253
263pub const CHARSET_WINDOWS_1253: &str = "charset=windows-1253";
264
265/// Charset windows-1254
266pub const CHARSET_WINDOWS_1254: &str = "charset=windows-1254";
267
268/// Charset windows-1255
269pub const CHARSET_WINDOWS_1255: &str = "charset=windows-1255";
270
271/// Charset windows-1256
272pub const CHARSET_WINDOWS_1256: &str = "charset=windows-1256";
273
274/// Charset windows-1257
275pub const CHARSET_WINDOWS_1257: &str = "charset=windows-1257";
276
277/// Charset windows-1258
278pub const CHARSET_WINDOWS_1258: &str = "charset=windows-1258";
279
280/// Charset koi8-r
281pub const CHARSET_KOI8_R: &str = "charset=koi8-r";
282
283/// Charset koi8-u
284pub const CHARSET_KOI8_U: &str = "charset=koi8-u";
285
286/// Charset euc-jp
287pub const CHARSET_EUC_JP: &str = "charset=euc-jp";
288
289/// Charset utf-16le
290pub const CHARSET_UTF_16LE: &str = "charset=utf-16le";
291
292/// Charset utf-16be
293pub const CHARSET_UTF_16BE: &str = "charset=utf-16be";
294
295/// Charset utf-32le
296pub const CHARSET_UTF_32LE: &str = "charset=utf-32le";
297
298/// Charset utf-32be
299pub const CHARSET_UTF_32BE: &str = "charset=utf-32be";
300
301/// H2C
302pub const H2C_LOWERCASE: &str = "h2c";
303
304/// H2C
305pub const H2C_UPPERCASE: &str = "H2C";
306
307// TLS
308pub const TLS_LOWERCASE: &str = "tls";
309
310/// TLS
311pub const TLS_UPPERCASE: &str = "TLS";
312
313/// TLS/1.0
314pub const TLS_1_0: &str = "TLS/1.0";
315
316/// TLS/1.1
317pub const TLS_1_1: &str = "TLS/1.1";
318
319/// TLS/1.2
320pub const TLS_1_2: &str = "TLS/1.2";
321
322/// TLS/1.3
323pub const TLS_1_3: &str = "TLS/1.3";