itsi 0.2.15 → 0.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/Cargo.lock +74 -74
  4. data/crates/itsi_scheduler/Cargo.toml +1 -1
  5. data/crates/itsi_scheduler/extconf.rb +3 -1
  6. data/crates/itsi_server/Cargo.lock +1 -1
  7. data/crates/itsi_server/Cargo.toml +1 -1
  8. data/crates/itsi_server/extconf.rb +3 -1
  9. data/crates/itsi_server/src/lib.rs +1 -0
  10. data/crates/itsi_server/src/ruby_types/itsi_grpc_call.rs +2 -2
  11. data/crates/itsi_server/src/ruby_types/itsi_http_request.rs +9 -11
  12. data/crates/itsi_server/src/ruby_types/itsi_server/itsi_server_config.rs +6 -1
  13. data/crates/itsi_server/src/server/binds/listener.rs +4 -1
  14. data/crates/itsi_server/src/server/http_message_types.rs +1 -1
  15. data/crates/itsi_server/src/server/middleware_stack/middlewares/error_response/default_responses.rs +32 -34
  16. data/crates/itsi_server/src/server/middleware_stack/middlewares/error_response.rs +3 -4
  17. data/crates/itsi_server/src/server/middleware_stack/middlewares/etag.rs +23 -38
  18. data/crates/itsi_server/src/server/middleware_stack/middlewares/log_requests.rs +65 -14
  19. data/crates/itsi_server/src/server/middleware_stack/middlewares/max_body.rs +1 -1
  20. data/crates/itsi_server/src/server/middleware_stack/middlewares/proxy.rs +1 -1
  21. data/crates/itsi_server/src/server/middleware_stack/middlewares/rate_limit.rs +21 -8
  22. data/crates/itsi_server/src/server/middleware_stack/middlewares/ruby_app.rs +1 -5
  23. data/crates/itsi_server/src/server/middleware_stack/middlewares/static_response.rs +12 -3
  24. data/crates/itsi_server/src/server/process_worker.rs +2 -1
  25. data/crates/itsi_server/src/server/serve_strategy/acceptor.rs +96 -0
  26. data/crates/itsi_server/src/server/serve_strategy/mod.rs +1 -0
  27. data/crates/itsi_server/src/server/serve_strategy/single_mode.rs +80 -136
  28. data/crates/itsi_server/src/server/thread_worker.rs +10 -3
  29. data/crates/itsi_server/src/services/itsi_http_service.rs +26 -21
  30. data/crates/itsi_server/src/services/mime_types.rs +185 -183
  31. data/crates/itsi_server/src/services/rate_limiter.rs +16 -34
  32. data/crates/itsi_server/src/services/static_file_server.rs +7 -13
  33. data/docs/content/features/_index.md +1 -1
  34. data/examples/rails_with_static_assets/Gemfile.lock +1 -1
  35. data/examples/rails_with_static_assets/Itsi.rb +4 -1
  36. data/gems/scheduler/Cargo.lock +15 -15
  37. data/gems/scheduler/lib/itsi/scheduler/version.rb +1 -1
  38. data/gems/server/Cargo.lock +73 -73
  39. data/gems/server/lib/itsi/server/config/config_helpers.rb +1 -2
  40. data/gems/server/lib/itsi/server/config/middleware/etag.md +3 -7
  41. data/gems/server/lib/itsi/server/config/middleware/etag.rb +2 -4
  42. data/gems/server/lib/itsi/server/config/options/listen_backlog.rb +1 -1
  43. data/gems/server/lib/itsi/server/config/options/send_buffer_size.md +15 -0
  44. data/gems/server/lib/itsi/server/config/options/send_buffer_size.rb +19 -0
  45. data/gems/server/lib/itsi/server/config.rb +24 -25
  46. data/gems/server/lib/itsi/server/route_tester.rb +1 -1
  47. data/gems/server/lib/itsi/server/version.rb +1 -1
  48. data/gems/server/test/middleware/etag.rb +3 -3
  49. data/gems/server/test/options/ruby_thread_request_backlog_size.rb +2 -3
  50. data/lib/itsi/version.rb +1 -1
  51. data/tasks.txt +8 -7
  52. metadata +8 -5
@@ -4,8 +4,8 @@ use http::HeaderValue;
4
4
  use phf::{phf_map, Map};
5
5
 
6
6
  static VAL_123: HeaderValue = HeaderValue::from_static("application/vnd.lotus-1-2-3");
7
- static VAL_323: HeaderValue = HeaderValue::from_static("text/h323");
8
- static VAL_3DML: HeaderValue = HeaderValue::from_static("text/vnd.in3d.3dml");
7
+ static VAL_323: HeaderValue = HeaderValue::from_static("text/h323; charset=utf-8");
8
+ static VAL_3DML: HeaderValue = HeaderValue::from_static("text/vnd.in3d.3dml; charset=utf-8");
9
9
  static VAL_3DS: HeaderValue = HeaderValue::from_static("image/x-3ds");
10
10
  static VAL_3G2: HeaderValue = HeaderValue::from_static("video/3gpp2");
11
11
  static VAL_3GP: HeaderValue = HeaderValue::from_static("video/3gpp");
@@ -36,7 +36,7 @@ static VAL_ACE: HeaderValue = HeaderValue::from_static("application/x-ace-compre
36
36
  static VAL_ACU: HeaderValue = HeaderValue::from_static("application/vnd.acucobol");
37
37
  static VAL_ACUTC: HeaderValue = HeaderValue::from_static("application/vnd.acucorp");
38
38
  static VAL_ACX: HeaderValue = HeaderValue::from_static("application/internet-property-stream");
39
- static VAL_ADDIN: HeaderValue = HeaderValue::from_static("text/xml");
39
+ static VAL_ADDIN: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
40
40
  static VAL_ADE: HeaderValue = HeaderValue::from_static("application/msaccess");
41
41
  static VAL_ADOBEBRIDGE: HeaderValue = HeaderValue::from_static("application/x-bridge-url");
42
42
  static VAL_ADP: HeaderValue = HeaderValue::from_static("application/msaccess");
@@ -58,7 +58,7 @@ static VAL_AMI: HeaderValue = HeaderValue::from_static("application/vnd.amiga.am
58
58
  static VAL_ANX: HeaderValue = HeaderValue::from_static("application/annodex");
59
59
  static VAL_APK: HeaderValue = HeaderValue::from_static("application/vnd.android.package-archive");
60
60
  static VAL_APNG: HeaderValue = HeaderValue::from_static("image/apng");
61
- static VAL_APPCACHE: HeaderValue = HeaderValue::from_static("text/cache-manifest");
61
+ static VAL_APPCACHE: HeaderValue = HeaderValue::from_static("text/cache-manifest; charset=utf-8");
62
62
  static VAL_APPLICATION: HeaderValue = HeaderValue::from_static("application/x-ms-application");
63
63
  static VAL_APR: HeaderValue = HeaderValue::from_static("application/vnd.lotus-approach");
64
64
  static VAL_ARC: HeaderValue = HeaderValue::from_static("application/x-freearc");
@@ -73,7 +73,7 @@ static VAL_ASD: HeaderValue = HeaderValue::from_static("application/octet-stream
73
73
  static VAL_ASF: HeaderValue = HeaderValue::from_static("video/x-ms-asf");
74
74
  static VAL_ASHX: HeaderValue = HeaderValue::from_static("application/xml");
75
75
  static VAL_ASI: HeaderValue = HeaderValue::from_static("application/octet-stream");
76
- static VAL_ASM: HeaderValue = HeaderValue::from_static("text/plain");
76
+ static VAL_ASM: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
77
77
  static VAL_ASMX: HeaderValue = HeaderValue::from_static("application/xml");
78
78
  static VAL_ASO: HeaderValue = HeaderValue::from_static("application/vnd.accpac.simply.aso");
79
79
  static VAL_ASPX: HeaderValue = HeaderValue::from_static("application/xml");
@@ -95,7 +95,7 @@ static VAL_AXV: HeaderValue = HeaderValue::from_static("video/annodex");
95
95
  static VAL_AZF: HeaderValue = HeaderValue::from_static("application/vnd.airzip.filesecure.azf");
96
96
  static VAL_AZS: HeaderValue = HeaderValue::from_static("application/vnd.airzip.filesecure.azs");
97
97
  static VAL_AZW: HeaderValue = HeaderValue::from_static("application/vnd.amazon.ebook");
98
- static VAL_BAS: HeaderValue = HeaderValue::from_static("text/plain");
98
+ static VAL_BAS: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
99
99
  static VAL_BAT: HeaderValue = HeaderValue::from_static("application/x-msdownload");
100
100
  static VAL_BCPIO: HeaderValue = HeaderValue::from_static("application/x-bcpio");
101
101
  static VAL_BDF: HeaderValue = HeaderValue::from_static("application/x-font-bdf");
@@ -116,7 +116,7 @@ static VAL_BTIF: HeaderValue = HeaderValue::from_static("image/prs.btif");
116
116
  static VAL_BUFFER: HeaderValue = HeaderValue::from_static("application/octet-stream");
117
117
  static VAL_BZ: HeaderValue = HeaderValue::from_static("application/x-bzip");
118
118
  static VAL_BZ2: HeaderValue = HeaderValue::from_static("application/x-bzip2");
119
- static VAL_C: HeaderValue = HeaderValue::from_static("text/plain");
119
+ static VAL_C: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
120
120
  static VAL_C11AMC: HeaderValue =
121
121
  HeaderValue::from_static("application/vnd.cluetrust.cartomobile-config");
122
122
  static VAL_C11AMZ: HeaderValue =
@@ -137,11 +137,11 @@ static VAL_CBA: HeaderValue = HeaderValue::from_static("application/x-cbr");
137
137
  static VAL_CBR: HeaderValue = HeaderValue::from_static("application/x-cbr");
138
138
  static VAL_CBT: HeaderValue = HeaderValue::from_static("application/x-cbr");
139
139
  static VAL_CBZ: HeaderValue = HeaderValue::from_static("application/x-cbr");
140
- static VAL_CC: HeaderValue = HeaderValue::from_static("text/plain");
140
+ static VAL_CC: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
141
141
  static VAL_CCO: HeaderValue = HeaderValue::from_static("application/x-cocoa");
142
142
  static VAL_CCT: HeaderValue = HeaderValue::from_static("application/x-director");
143
143
  static VAL_CCXML: HeaderValue = HeaderValue::from_static("application/ccxml+xml");
144
- static VAL_CD: HeaderValue = HeaderValue::from_static("text/plain");
144
+ static VAL_CD: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
145
145
  static VAL_CDBCMSG: HeaderValue = HeaderValue::from_static("application/vnd.contact.cmsg");
146
146
  static VAL_CDDA: HeaderValue = HeaderValue::from_static("audio/aiff");
147
147
  static VAL_CDF: HeaderValue = HeaderValue::from_static("application/x-cdf");
@@ -155,7 +155,7 @@ static VAL_CDX: HeaderValue = HeaderValue::from_static("chemical/x-cdx");
155
155
  static VAL_CDXML: HeaderValue = HeaderValue::from_static("application/vnd.chemdraw+xml");
156
156
  static VAL_CDY: HeaderValue = HeaderValue::from_static("application/vnd.cinderella");
157
157
  static VAL_CER: HeaderValue = HeaderValue::from_static("application/x-x509-ca-cert");
158
- static VAL_CFG: HeaderValue = HeaderValue::from_static("text/plain");
158
+ static VAL_CFG: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
159
159
  static VAL_CFS: HeaderValue = HeaderValue::from_static("application/x-cfs-compressed");
160
160
  static VAL_CGM: HeaderValue = HeaderValue::from_static("image/cgm");
161
161
  static VAL_CHAT: HeaderValue = HeaderValue::from_static("application/x-chat");
@@ -174,21 +174,21 @@ static VAL_CLKW: HeaderValue = HeaderValue::from_static("application/vnd.crick.c
174
174
  static VAL_CLKX: HeaderValue = HeaderValue::from_static("application/vnd.crick.clicker");
175
175
  static VAL_CLP: HeaderValue = HeaderValue::from_static("application/x-msclip");
176
176
  static VAL_CMC: HeaderValue = HeaderValue::from_static("application/vnd.cosmocaller");
177
- static VAL_CMD: HeaderValue = HeaderValue::from_static("text/plain");
177
+ static VAL_CMD: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
178
178
  static VAL_CMDF: HeaderValue = HeaderValue::from_static("chemical/x-cmdf");
179
179
  static VAL_CML: HeaderValue = HeaderValue::from_static("chemical/x-cml");
180
180
  static VAL_CMP: HeaderValue = HeaderValue::from_static("application/vnd.yellowriver-custom-menu");
181
181
  static VAL_CMX: HeaderValue = HeaderValue::from_static("image/x-cmx");
182
- static VAL_CNF: HeaderValue = HeaderValue::from_static("text/plain");
182
+ static VAL_CNF: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
183
183
  static VAL_COD: HeaderValue = HeaderValue::from_static("image/cis-cod");
184
- static VAL_COFFEE: HeaderValue = HeaderValue::from_static("text/coffeescript");
184
+ static VAL_COFFEE: HeaderValue = HeaderValue::from_static("text/coffeescript; charset=utf-8");
185
185
  static VAL_COM: HeaderValue = HeaderValue::from_static("application/x-msdownload");
186
- static VAL_CONF: HeaderValue = HeaderValue::from_static("text/plain");
186
+ static VAL_CONF: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
187
187
  static VAL_CONFIG: HeaderValue = HeaderValue::from_static("application/xml");
188
- static VAL_CONTACT: HeaderValue = HeaderValue::from_static("text/x-ms-contact");
188
+ static VAL_CONTACT: HeaderValue = HeaderValue::from_static("text/x-ms-contact; charset=utf-8");
189
189
  static VAL_COVERAGE: HeaderValue = HeaderValue::from_static("application/xml");
190
190
  static VAL_CPIO: HeaderValue = HeaderValue::from_static("application/x-cpio");
191
- static VAL_CPP: HeaderValue = HeaderValue::from_static("text/plain");
191
+ static VAL_CPP: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
192
192
  static VAL_CPT: HeaderValue = HeaderValue::from_static("application/mac-compactpro");
193
193
  static VAL_CR2: HeaderValue = HeaderValue::from_static("image/x-canon-cr2");
194
194
  static VAL_CR3: HeaderValue = HeaderValue::from_static("image/x-canon-cr3");
@@ -198,22 +198,22 @@ static VAL_CRT: HeaderValue = HeaderValue::from_static("application/x-x509-ca-ce
198
198
  static VAL_CRW: HeaderValue = HeaderValue::from_static("image/x-canon-crw");
199
199
  static VAL_CRX: HeaderValue = HeaderValue::from_static("application/x-chrome-extension");
200
200
  static VAL_CRYPTONOTE: HeaderValue = HeaderValue::from_static("application/vnd.rig.cryptonote");
201
- static VAL_CS: HeaderValue = HeaderValue::from_static("text/plain");
202
- static VAL_CSDPROJ: HeaderValue = HeaderValue::from_static("text/plain");
201
+ static VAL_CS: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
202
+ static VAL_CSDPROJ: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
203
203
  static VAL_CSH: HeaderValue = HeaderValue::from_static("application/x-csh");
204
204
  static VAL_CSL: HeaderValue = HeaderValue::from_static("application/vnd.citationstyles.style+xml");
205
205
  static VAL_CSML: HeaderValue = HeaderValue::from_static("chemical/x-csml");
206
206
  static VAL_CSP: HeaderValue = HeaderValue::from_static("application/vnd.commonspace");
207
- static VAL_CSPROJ: HeaderValue = HeaderValue::from_static("text/plain");
208
- static VAL_CSS: HeaderValue = HeaderValue::from_static("text/css");
207
+ static VAL_CSPROJ: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
208
+ static VAL_CSS: HeaderValue = HeaderValue::from_static("text/css; charset=utf-8");
209
209
  static VAL_CST: HeaderValue = HeaderValue::from_static("application/x-director");
210
- static VAL_CSV: HeaderValue = HeaderValue::from_static("text/csv");
210
+ static VAL_CSV: HeaderValue = HeaderValue::from_static("text/csv; charset=utf-8");
211
211
  static VAL_CU: HeaderValue = HeaderValue::from_static("application/cu-seeme");
212
212
  static VAL_CUR: HeaderValue = HeaderValue::from_static("application/octet-stream");
213
- static VAL_CURL: HeaderValue = HeaderValue::from_static("text/vnd.curl");
213
+ static VAL_CURL: HeaderValue = HeaderValue::from_static("text/vnd.curl; charset=utf-8");
214
214
  static VAL_CWW: HeaderValue = HeaderValue::from_static("application/prs.cww");
215
215
  static VAL_CXT: HeaderValue = HeaderValue::from_static("application/x-director");
216
- static VAL_CXX: HeaderValue = HeaderValue::from_static("text/plain");
216
+ static VAL_CXX: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
217
217
  static VAL_DAE: HeaderValue = HeaderValue::from_static("model/vnd.collada+xml");
218
218
  static VAL_DAF: HeaderValue = HeaderValue::from_static("application/vnd.mobius.daf");
219
219
  static VAL_DART: HeaderValue = HeaderValue::from_static("application/vnd.dart");
@@ -222,26 +222,26 @@ static VAL_DATALESS: HeaderValue = HeaderValue::from_static("application/vnd.fds
222
222
  static VAL_DATASOURCE: HeaderValue = HeaderValue::from_static("application/xml");
223
223
  static VAL_DAVMOUNT: HeaderValue = HeaderValue::from_static("application/davmount+xml");
224
224
  static VAL_DBK: HeaderValue = HeaderValue::from_static("application/docbook+xml");
225
- static VAL_DBPROJ: HeaderValue = HeaderValue::from_static("text/plain");
225
+ static VAL_DBPROJ: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
226
226
  static VAL_DCR: HeaderValue = HeaderValue::from_static("application/x-director");
227
- static VAL_DCURL: HeaderValue = HeaderValue::from_static("text/vnd.curl.dcurl");
227
+ static VAL_DCURL: HeaderValue = HeaderValue::from_static("text/vnd.curl.dcurl; charset=utf-8");
228
228
  static VAL_DD2: HeaderValue = HeaderValue::from_static("application/vnd.oma.dd2+xml");
229
229
  static VAL_DDD: HeaderValue = HeaderValue::from_static("application/vnd.fujixerox.ddd");
230
230
  static VAL_DEB: HeaderValue = HeaderValue::from_static("application/octet-stream");
231
- static VAL_DEF: HeaderValue = HeaderValue::from_static("text/plain");
231
+ static VAL_DEF: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
232
232
  static VAL_DEPLOY: HeaderValue = HeaderValue::from_static("application/octet-stream");
233
233
  static VAL_DER: HeaderValue = HeaderValue::from_static("application/x-x509-ca-cert");
234
234
  static VAL_DFAC: HeaderValue = HeaderValue::from_static("application/vnd.dreamfactory");
235
235
  static VAL_DGC: HeaderValue = HeaderValue::from_static("application/x-dgc-compressed");
236
236
  static VAL_DGML: HeaderValue = HeaderValue::from_static("application/xml");
237
237
  static VAL_DIB: HeaderValue = HeaderValue::from_static("image/bmp");
238
- static VAL_DIC: HeaderValue = HeaderValue::from_static("text/x-c");
238
+ static VAL_DIC: HeaderValue = HeaderValue::from_static("text/x-c; charset=utf-8");
239
239
  static VAL_DIF: HeaderValue = HeaderValue::from_static("video/x-dv");
240
240
  static VAL_DIR: HeaderValue = HeaderValue::from_static("application/x-director");
241
- static VAL_DIR_LIST: HeaderValue = HeaderValue::from_static("text/html");
241
+ static VAL_DIR_LIST: HeaderValue = HeaderValue::from_static("text/html; charset=utf-8");
242
242
  static VAL_DIR_LIST_JSON: HeaderValue = HeaderValue::from_static("application/json");
243
243
  static VAL_DIS: HeaderValue = HeaderValue::from_static("application/vnd.mobius.dis");
244
- static VAL_DISCO: HeaderValue = HeaderValue::from_static("text/xml");
244
+ static VAL_DISCO: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
245
245
  static VAL_DISPOSITION: HeaderValue = HeaderValue::from_static("message/disposition-notification");
246
246
  static VAL_DIST: HeaderValue = HeaderValue::from_static("application/octet-stream");
247
247
  static VAL_DISTZ: HeaderValue = HeaderValue::from_static("application/octet-stream");
@@ -249,7 +249,7 @@ static VAL_DIVX: HeaderValue = HeaderValue::from_static("video/divx");
249
249
  static VAL_DJV: HeaderValue = HeaderValue::from_static("image/vnd.djvu");
250
250
  static VAL_DJVU: HeaderValue = HeaderValue::from_static("image/vnd.djvu");
251
251
  static VAL_DLL: HeaderValue = HeaderValue::from_static("application/x-msdownload");
252
- static VAL_DLM: HeaderValue = HeaderValue::from_static("text/dlm");
252
+ static VAL_DLM: HeaderValue = HeaderValue::from_static("text/dlm; charset=utf-8");
253
253
  static VAL_DMG: HeaderValue = HeaderValue::from_static("application/octet-stream");
254
254
  static VAL_DMP: HeaderValue = HeaderValue::from_static("application/vnd.tcpdump.pcap");
255
255
  static VAL_DMS: HeaderValue = HeaderValue::from_static("application/octet-stream");
@@ -270,14 +270,14 @@ static VAL_DOTX: HeaderValue = HeaderValue::from_static(
270
270
  static VAL_DP: HeaderValue = HeaderValue::from_static("application/vnd.osgi.dp");
271
271
  static VAL_DPG: HeaderValue = HeaderValue::from_static("application/vnd.dpgraph");
272
272
  static VAL_DRA: HeaderValue = HeaderValue::from_static("audio/vnd.dra");
273
- static VAL_DSC: HeaderValue = HeaderValue::from_static("text/prs.lines.tag");
273
+ static VAL_DSC: HeaderValue = HeaderValue::from_static("text/prs.lines.tag; charset=utf-8");
274
274
  static VAL_DSP: HeaderValue = HeaderValue::from_static("application/octet-stream");
275
275
  static VAL_DSSC: HeaderValue = HeaderValue::from_static("application/dssc+der");
276
- static VAL_DSW: HeaderValue = HeaderValue::from_static("text/plain");
276
+ static VAL_DSW: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
277
277
  static VAL_DTB: HeaderValue = HeaderValue::from_static("application/x-dtbook+xml");
278
- static VAL_DTD: HeaderValue = HeaderValue::from_static("text/xml");
278
+ static VAL_DTD: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
279
279
  static VAL_DTS: HeaderValue = HeaderValue::from_static("audio/vnd.dts");
280
- static VAL_DTSCONFIG: HeaderValue = HeaderValue::from_static("text/xml");
280
+ static VAL_DTSCONFIG: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
281
281
  static VAL_DTSHD: HeaderValue = HeaderValue::from_static("audio/vnd.dts.hd");
282
282
  static VAL_DUMP: HeaderValue = HeaderValue::from_static("application/octet-stream");
283
283
  static VAL_DV: HeaderValue = HeaderValue::from_static("video/x-dv");
@@ -293,7 +293,7 @@ static VAL_EAR: HeaderValue = HeaderValue::from_static("application/java-archive
293
293
  static VAL_ECELP4800: HeaderValue = HeaderValue::from_static("audio/vnd.nuera.ecelp4800");
294
294
  static VAL_ECELP7470: HeaderValue = HeaderValue::from_static("audio/vnd.nuera.ecelp7470");
295
295
  static VAL_ECELP9600: HeaderValue = HeaderValue::from_static("audio/vnd.nuera.ecelp9600");
296
- static VAL_ECMA: HeaderValue = HeaderValue::from_static("text/javascript");
296
+ static VAL_ECMA: HeaderValue = HeaderValue::from_static("text/javascript; charset=utf-8");
297
297
  static VAL_EDM: HeaderValue = HeaderValue::from_static("application/vnd.novadigm.edm");
298
298
  static VAL_EDX: HeaderValue = HeaderValue::from_static("application/vnd.novadigm.edx");
299
299
  static VAL_EFIF: HeaderValue = HeaderValue::from_static("application/vnd.picsel");
@@ -308,13 +308,13 @@ static VAL_EOT: HeaderValue = HeaderValue::from_static("application/vnd.ms-fonto
308
308
  static VAL_EPS: HeaderValue = HeaderValue::from_static("application/postscript");
309
309
  static VAL_EPUB: HeaderValue = HeaderValue::from_static("application/epub+zip");
310
310
  static VAL_ERF: HeaderValue = HeaderValue::from_static("application/x-endace-erf");
311
- static VAL_ES: HeaderValue = HeaderValue::from_static("text/javascript");
311
+ static VAL_ES: HeaderValue = HeaderValue::from_static("text/javascript; charset=utf-8");
312
312
  static VAL_ES3: HeaderValue = HeaderValue::from_static("application/vnd.eszigno3+xml");
313
313
  static VAL_ESA: HeaderValue = HeaderValue::from_static("application/vnd.osgi.subsystem");
314
314
  static VAL_ESF: HeaderValue = HeaderValue::from_static("application/vnd.epson.esf");
315
315
  static VAL_ET3: HeaderValue = HeaderValue::from_static("application/vnd.eszigno3+xml");
316
316
  static VAL_ETL: HeaderValue = HeaderValue::from_static("application/etl");
317
- static VAL_ETX: HeaderValue = HeaderValue::from_static("text/x-setext");
317
+ static VAL_ETX: HeaderValue = HeaderValue::from_static("text/x-setext; charset=utf-8");
318
318
  static VAL_EVA: HeaderValue = HeaderValue::from_static("application/x-eva");
319
319
  static VAL_EVY: HeaderValue = HeaderValue::from_static("application/envoy");
320
320
  static VAL_EXE: HeaderValue = HeaderValue::from_static("application/octet-stream");
@@ -323,17 +323,17 @@ static VAL_EXT: HeaderValue = HeaderValue::from_static("application/vnd.novadigm
323
323
  static VAL_EZ: HeaderValue = HeaderValue::from_static("application/andrew-inset");
324
324
  static VAL_EZ2: HeaderValue = HeaderValue::from_static("application/vnd.ezpix-album");
325
325
  static VAL_EZ3: HeaderValue = HeaderValue::from_static("application/vnd.ezpix-package");
326
- static VAL_F: HeaderValue = HeaderValue::from_static("text/x-fortran");
326
+ static VAL_F: HeaderValue = HeaderValue::from_static("text/x-fortran; charset=utf-8");
327
327
  static VAL_F4V: HeaderValue = HeaderValue::from_static("video/x-f4v");
328
- static VAL_F77: HeaderValue = HeaderValue::from_static("text/x-fortran");
329
- static VAL_F90: HeaderValue = HeaderValue::from_static("text/x-fortran");
328
+ static VAL_F77: HeaderValue = HeaderValue::from_static("text/x-fortran; charset=utf-8");
329
+ static VAL_F90: HeaderValue = HeaderValue::from_static("text/x-fortran; charset=utf-8");
330
330
  static VAL_FBS: HeaderValue = HeaderValue::from_static("image/vnd.fastbidsheet");
331
331
  static VAL_FCDT: HeaderValue = HeaderValue::from_static("application/vnd.adobe.formscentral.fcdt");
332
332
  static VAL_FCS: HeaderValue = HeaderValue::from_static("application/vnd.isac.fcs");
333
333
  static VAL_FDF: HeaderValue = HeaderValue::from_static("application/vnd.fdf");
334
334
  static VAL_FE_LAUNCH: HeaderValue =
335
335
  HeaderValue::from_static("application/vnd.denovo.fcselayout-link");
336
- static VAL_FEATURE: HeaderValue = HeaderValue::from_static("text/x-gherkin");
336
+ static VAL_FEATURE: HeaderValue = HeaderValue::from_static("text/x-gherkin; charset=utf-8");
337
337
  static VAL_FG5: HeaderValue = HeaderValue::from_static("application/vnd.fujitsu.oasysgp");
338
338
  static VAL_FGD: HeaderValue = HeaderValue::from_static("application/x-director");
339
339
  static VAL_FH: HeaderValue = HeaderValue::from_static("image/x-freehand");
@@ -351,11 +351,11 @@ static VAL_FLO: HeaderValue = HeaderValue::from_static("application/vnd.microgra
351
351
  static VAL_FLR: HeaderValue = HeaderValue::from_static("x-world/x-vrml");
352
352
  static VAL_FLV: HeaderValue = HeaderValue::from_static("video/x-flv");
353
353
  static VAL_FLW: HeaderValue = HeaderValue::from_static("application/vnd.kde.kivio");
354
- static VAL_FLX: HeaderValue = HeaderValue::from_static("text/vnd.fmi.flexstor");
355
- static VAL_FLY: HeaderValue = HeaderValue::from_static("text/vnd.fly");
354
+ static VAL_FLX: HeaderValue = HeaderValue::from_static("text/vnd.fmi.flexstor; charset=utf-8");
355
+ static VAL_FLY: HeaderValue = HeaderValue::from_static("text/vnd.fly; charset=utf-8");
356
356
  static VAL_FM: HeaderValue = HeaderValue::from_static("application/vnd.framemaker");
357
357
  static VAL_FNC: HeaderValue = HeaderValue::from_static("application/vnd.frogans.fnc");
358
- static VAL_FOR: HeaderValue = HeaderValue::from_static("text/x-fortran");
358
+ static VAL_FOR: HeaderValue = HeaderValue::from_static("text/x-fortran; charset=utf-8");
359
359
  static VAL_FPX: HeaderValue = HeaderValue::from_static("image/vnd.fpx");
360
360
  static VAL_FRAME: HeaderValue = HeaderValue::from_static("application/vnd.framemaker");
361
361
  static VAL_FSC: HeaderValue = HeaderValue::from_static("application/vnd.fsc.weblaunch");
@@ -378,7 +378,7 @@ static VAL_GBR: HeaderValue = HeaderValue::from_static("application/rpki-ghostbu
378
378
  static VAL_GCA: HeaderValue = HeaderValue::from_static("application/x-gca-compressed");
379
379
  static VAL_GDL: HeaderValue = HeaderValue::from_static("model/vnd.gdl");
380
380
  static VAL_GDOC: HeaderValue = HeaderValue::from_static("application/vnd.google-apps.document");
381
- static VAL_GEMINI: HeaderValue = HeaderValue::from_static("text/gemini");
381
+ static VAL_GEMINI: HeaderValue = HeaderValue::from_static("text/gemini; charset=utf-8");
382
382
  static VAL_GENERICTEST: HeaderValue = HeaderValue::from_static("application/xml");
383
383
  static VAL_GEO: HeaderValue = HeaderValue::from_static("application/vnd.dynageo");
384
384
  static VAL_GEOJSON: HeaderValue = HeaderValue::from_static("application/geo+json");
@@ -390,7 +390,7 @@ static VAL_GIF: HeaderValue = HeaderValue::from_static("image/gif");
390
390
  static VAL_GIM: HeaderValue = HeaderValue::from_static("application/vnd.groove-identity-message");
391
391
  static VAL_GLB: HeaderValue = HeaderValue::from_static("model/gltf-binary");
392
392
  static VAL_GLTF: HeaderValue = HeaderValue::from_static("model/gltf+json");
393
- static VAL_GMI: HeaderValue = HeaderValue::from_static("text/gemini");
393
+ static VAL_GMI: HeaderValue = HeaderValue::from_static("text/gemini; charset=utf-8");
394
394
  static VAL_GML: HeaderValue = HeaderValue::from_static("application/gml+xml");
395
395
  static VAL_GMX: HeaderValue = HeaderValue::from_static("application/vnd.gmx");
396
396
  static VAL_GNUMERIC: HeaderValue = HeaderValue::from_static("application/x-gnumeric");
@@ -401,7 +401,7 @@ static VAL_GQS: HeaderValue = HeaderValue::from_static("application/vnd.grafeq")
401
401
  static VAL_GRAM: HeaderValue = HeaderValue::from_static("application/srgs");
402
402
  static VAL_GRAMPS: HeaderValue = HeaderValue::from_static("application/x-gramps-xml");
403
403
  static VAL_GRE: HeaderValue = HeaderValue::from_static("application/vnd.geometry-explorer");
404
- static VAL_GROUP: HeaderValue = HeaderValue::from_static("text/x-ms-group");
404
+ static VAL_GROUP: HeaderValue = HeaderValue::from_static("text/x-ms-group; charset=utf-8");
405
405
  static VAL_GRV: HeaderValue = HeaderValue::from_static("application/vnd.groove-injector");
406
406
  static VAL_GRXML: HeaderValue = HeaderValue::from_static("application/srgs+xml");
407
407
  static VAL_GSF: HeaderValue = HeaderValue::from_static("application/x-font-ghostscript");
@@ -413,26 +413,26 @@ static VAL_GSM: HeaderValue = HeaderValue::from_static("audio/x-gsm");
413
413
  static VAL_GTAR: HeaderValue = HeaderValue::from_static("application/x-gtar");
414
414
  static VAL_GTM: HeaderValue = HeaderValue::from_static("application/vnd.groove-tool-message");
415
415
  static VAL_GTW: HeaderValue = HeaderValue::from_static("model/vnd.gtw");
416
- static VAL_GV: HeaderValue = HeaderValue::from_static("text/vnd.graphviz");
416
+ static VAL_GV: HeaderValue = HeaderValue::from_static("text/vnd.graphviz; charset=utf-8");
417
417
  static VAL_GXF: HeaderValue = HeaderValue::from_static("application/gxf");
418
418
  static VAL_GXT: HeaderValue = HeaderValue::from_static("application/vnd.geonext");
419
419
  static VAL_GZ: HeaderValue = HeaderValue::from_static("application/gzip");
420
- static VAL_H: HeaderValue = HeaderValue::from_static("text/plain");
420
+ static VAL_H: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
421
421
  static VAL_H261: HeaderValue = HeaderValue::from_static("video/h261");
422
422
  static VAL_H263: HeaderValue = HeaderValue::from_static("video/h263");
423
423
  static VAL_H264: HeaderValue = HeaderValue::from_static("video/h264");
424
424
  static VAL_HAL: HeaderValue = HeaderValue::from_static("application/vnd.hal+xml");
425
425
  static VAL_HBCI: HeaderValue = HeaderValue::from_static("application/vnd.hbci");
426
- static VAL_HBS: HeaderValue = HeaderValue::from_static("text/x-handlebars-template");
426
+ static VAL_HBS: HeaderValue = HeaderValue::from_static("text/x-handlebars-template; charset=utf-8");
427
427
  static VAL_HDD: HeaderValue = HeaderValue::from_static("application/x-virtualbox-hdd");
428
428
  static VAL_HDF: HeaderValue = HeaderValue::from_static("application/x-hdf");
429
- static VAL_HDML: HeaderValue = HeaderValue::from_static("text/x-hdml");
429
+ static VAL_HDML: HeaderValue = HeaderValue::from_static("text/x-hdml; charset=utf-8");
430
430
  static VAL_HDR: HeaderValue = HeaderValue::from_static("image/vnd.radiance");
431
431
  static VAL_HEIC: HeaderValue = HeaderValue::from_static("image/heic");
432
432
  static VAL_HEICS: HeaderValue = HeaderValue::from_static("image/heic-sequence");
433
433
  static VAL_HEIF: HeaderValue = HeaderValue::from_static("image/heif");
434
434
  static VAL_HEIFS: HeaderValue = HeaderValue::from_static("image/heif-sequence");
435
- static VAL_HH: HeaderValue = HeaderValue::from_static("text/plain");
435
+ static VAL_HH: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
436
436
  static VAL_HHC: HeaderValue = HeaderValue::from_static("application/x-oleobject");
437
437
  static VAL_HHK: HeaderValue = HeaderValue::from_static("application/octet-stream");
438
438
  static VAL_HHP: HeaderValue = HeaderValue::from_static("application/octet-stream");
@@ -440,15 +440,15 @@ static VAL_HJSON: HeaderValue = HeaderValue::from_static("application/hjson");
440
440
  static VAL_HLP: HeaderValue = HeaderValue::from_static("application/winhlp");
441
441
  static VAL_HPGL: HeaderValue = HeaderValue::from_static("application/vnd.hp-hpgl");
442
442
  static VAL_HPID: HeaderValue = HeaderValue::from_static("application/vnd.hp-hpid");
443
- static VAL_HPP: HeaderValue = HeaderValue::from_static("text/plain");
443
+ static VAL_HPP: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
444
444
  static VAL_HPS: HeaderValue = HeaderValue::from_static("application/vnd.hp-hps");
445
445
  static VAL_HQX: HeaderValue = HeaderValue::from_static("application/mac-binhex40");
446
446
  static VAL_HTA: HeaderValue = HeaderValue::from_static("application/hta");
447
- static VAL_HTC: HeaderValue = HeaderValue::from_static("text/x-component");
447
+ static VAL_HTC: HeaderValue = HeaderValue::from_static("text/x-component; charset=utf-8");
448
448
  static VAL_HTKE: HeaderValue = HeaderValue::from_static("application/vnd.kenameaapp");
449
- static VAL_HTM: HeaderValue = HeaderValue::from_static("text/html");
450
- static VAL_HTML: HeaderValue = HeaderValue::from_static("text/html");
451
- static VAL_HTT: HeaderValue = HeaderValue::from_static("text/webviewhtml");
449
+ static VAL_HTM: HeaderValue = HeaderValue::from_static("text/html; charset=utf-8");
450
+ static VAL_HTML: HeaderValue = HeaderValue::from_static("text/html; charset=utf-8");
451
+ static VAL_HTT: HeaderValue = HeaderValue::from_static("text/webviewhtml; charset=utf-8");
452
452
  static VAL_HVD: HeaderValue = HeaderValue::from_static("application/vnd.yamaha.hv-dic");
453
453
  static VAL_HVP: HeaderValue = HeaderValue::from_static("application/vnd.yamaha.hv-voice");
454
454
  static VAL_HVS: HeaderValue = HeaderValue::from_static("application/vnd.yamaha.hv-script");
@@ -463,20 +463,20 @@ static VAL_HXK: HeaderValue = HeaderValue::from_static("application/xml");
463
463
  static VAL_HXQ: HeaderValue = HeaderValue::from_static("application/octet-stream");
464
464
  static VAL_HXR: HeaderValue = HeaderValue::from_static("application/octet-stream");
465
465
  static VAL_HXS: HeaderValue = HeaderValue::from_static("application/octet-stream");
466
- static VAL_HXT: HeaderValue = HeaderValue::from_static("text/html");
466
+ static VAL_HXT: HeaderValue = HeaderValue::from_static("text/html; charset=utf-8");
467
467
  static VAL_HXV: HeaderValue = HeaderValue::from_static("application/xml");
468
468
  static VAL_HXW: HeaderValue = HeaderValue::from_static("application/octet-stream");
469
- static VAL_HXX: HeaderValue = HeaderValue::from_static("text/plain");
470
- static VAL_I: HeaderValue = HeaderValue::from_static("text/plain");
469
+ static VAL_HXX: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
470
+ static VAL_I: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
471
471
  static VAL_I2G: HeaderValue = HeaderValue::from_static("application/vnd.intergeo");
472
472
  static VAL_ICC: HeaderValue = HeaderValue::from_static("application/vnd.iccprofile");
473
473
  static VAL_ICE: HeaderValue = HeaderValue::from_static("x-conference/x-cooltalk");
474
474
  static VAL_ICM: HeaderValue = HeaderValue::from_static("application/vnd.iccprofile");
475
475
  static VAL_ICO: HeaderValue = HeaderValue::from_static("image/x-icon");
476
- static VAL_ICS: HeaderValue = HeaderValue::from_static("text/calendar");
477
- static VAL_IDL: HeaderValue = HeaderValue::from_static("text/plain");
476
+ static VAL_ICS: HeaderValue = HeaderValue::from_static("text/calendar; charset=utf-8");
477
+ static VAL_IDL: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
478
478
  static VAL_IEF: HeaderValue = HeaderValue::from_static("image/ief");
479
- static VAL_IFB: HeaderValue = HeaderValue::from_static("text/calendar");
479
+ static VAL_IFB: HeaderValue = HeaderValue::from_static("text/calendar; charset=utf-8");
480
480
  static VAL_IFM: HeaderValue = HeaderValue::from_static("application/vnd.shana.informed.formdata");
481
481
  static VAL_IGES: HeaderValue = HeaderValue::from_static("model/iges");
482
482
  static VAL_IGL: HeaderValue = HeaderValue::from_static("application/vnd.igloader");
@@ -489,13 +489,13 @@ static VAL_III: HeaderValue = HeaderValue::from_static("application/x-iphone");
489
489
  static VAL_IMG: HeaderValue = HeaderValue::from_static("application/octet-stream");
490
490
  static VAL_IMP: HeaderValue = HeaderValue::from_static("application/vnd.accpac.simply.imp");
491
491
  static VAL_IMS: HeaderValue = HeaderValue::from_static("application/vnd.ms-ims");
492
- static VAL_IN: HeaderValue = HeaderValue::from_static("text/plain");
493
- static VAL_INC: HeaderValue = HeaderValue::from_static("text/plain");
492
+ static VAL_IN: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
493
+ static VAL_INC: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
494
494
  static VAL_INF: HeaderValue = HeaderValue::from_static("application/octet-stream");
495
- static VAL_INI: HeaderValue = HeaderValue::from_static("text/plain");
495
+ static VAL_INI: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
496
496
  static VAL_INK: HeaderValue = HeaderValue::from_static("application/inkml+xml");
497
497
  static VAL_INKML: HeaderValue = HeaderValue::from_static("application/inkml+xml");
498
- static VAL_INL: HeaderValue = HeaderValue::from_static("text/plain");
498
+ static VAL_INL: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
499
499
  static VAL_INS: HeaderValue = HeaderValue::from_static("application/x-internet-signup");
500
500
  static VAL_INSTALL: HeaderValue = HeaderValue::from_static("application/x-install-instructions");
501
501
  static VAL_IOTA: HeaderValue = HeaderValue::from_static("application/vnd.astraea-software.iota");
@@ -503,9 +503,9 @@ static VAL_IPA: HeaderValue = HeaderValue::from_static("application/x-itunes-ipa
503
503
  static VAL_IPFIX: HeaderValue = HeaderValue::from_static("application/ipfix");
504
504
  static VAL_IPG: HeaderValue = HeaderValue::from_static("application/x-itunes-ipg");
505
505
  static VAL_IPK: HeaderValue = HeaderValue::from_static("application/vnd.shana.informed.package");
506
- static VAL_IPPROJ: HeaderValue = HeaderValue::from_static("text/plain");
506
+ static VAL_IPPROJ: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
507
507
  static VAL_IPSW: HeaderValue = HeaderValue::from_static("application/x-itunes-ipsw");
508
- static VAL_IQY: HeaderValue = HeaderValue::from_static("text/x-ms-iqy");
508
+ static VAL_IQY: HeaderValue = HeaderValue::from_static("text/x-ms-iqy; charset=utf-8");
509
509
  static VAL_IRM: HeaderValue = HeaderValue::from_static("application/vnd.ibm.rights-management");
510
510
  static VAL_IRP: HeaderValue = HeaderValue::from_static("application/vnd.irepository.package+xml");
511
511
  static VAL_ISO: HeaderValue = HeaderValue::from_static("application/octet-stream");
@@ -519,8 +519,9 @@ static VAL_ITPC: HeaderValue = HeaderValue::from_static("application/x-itunes-it
519
519
  static VAL_IVF: HeaderValue = HeaderValue::from_static("video/x-ivf");
520
520
  static VAL_IVP: HeaderValue = HeaderValue::from_static("application/vnd.immervision-ivp");
521
521
  static VAL_IVU: HeaderValue = HeaderValue::from_static("application/vnd.immervision-ivu");
522
- static VAL_JAD: HeaderValue = HeaderValue::from_static("text/vnd.sun.j2me.app-descriptor");
523
- static VAL_JADE: HeaderValue = HeaderValue::from_static("text/jade");
522
+ static VAL_JAD: HeaderValue =
523
+ HeaderValue::from_static("text/vnd.sun.j2me.app-descriptor; charset=utf-8");
524
+ static VAL_JADE: HeaderValue = HeaderValue::from_static("text/jade; charset=utf-8");
524
525
  static VAL_JAM: HeaderValue = HeaderValue::from_static("application/vnd.jam");
525
526
  static VAL_JAR: HeaderValue = HeaderValue::from_static("application/java-archive");
526
527
  static VAL_JARDIFF: HeaderValue = HeaderValue::from_static("application/x-java-archive-diff");
@@ -544,14 +545,14 @@ static VAL_JPGM: HeaderValue = HeaderValue::from_static("video/jpm");
544
545
  static VAL_JPGV: HeaderValue = HeaderValue::from_static("video/jpeg");
545
546
  static VAL_JPM: HeaderValue = HeaderValue::from_static("image/jpm");
546
547
  static VAL_JPX: HeaderValue = HeaderValue::from_static("image/jpx");
547
- static VAL_JS: HeaderValue = HeaderValue::from_static("text/javascript");
548
- static VAL_JSM: HeaderValue = HeaderValue::from_static("text/javascript");
548
+ static VAL_JS: HeaderValue = HeaderValue::from_static("text/javascript; charset=utf-8");
549
+ static VAL_JSM: HeaderValue = HeaderValue::from_static("text/javascript; charset=utf-8");
549
550
  static VAL_JSON: HeaderValue = HeaderValue::from_static("application/json");
550
551
  static VAL_JSON5: HeaderValue = HeaderValue::from_static("application/json5");
551
552
  static VAL_JSONLD: HeaderValue = HeaderValue::from_static("application/ld+json");
552
553
  static VAL_JSONML: HeaderValue = HeaderValue::from_static("application/jsonml+json");
553
- static VAL_JSX: HeaderValue = HeaderValue::from_static("text/javascript");
554
- static VAL_JSXBIN: HeaderValue = HeaderValue::from_static("text/plain");
554
+ static VAL_JSX: HeaderValue = HeaderValue::from_static("text/javascript; charset=utf-8");
555
+ static VAL_JSXBIN: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
555
556
  static VAL_JXL: HeaderValue = HeaderValue::from_static("image/jxl");
556
557
  static VAL_K25: HeaderValue = HeaderValue::from_static("image/x-kodak-k25");
557
558
  static VAL_KAR: HeaderValue = HeaderValue::from_static("audio/midi");
@@ -580,27 +581,27 @@ static VAL_LBD: HeaderValue =
580
581
  static VAL_LBE: HeaderValue =
581
582
  HeaderValue::from_static("application/vnd.llamagraphics.life-balance.exchange+xml");
582
583
  static VAL_LES: HeaderValue = HeaderValue::from_static("application/vnd.hhe.lesson-player");
583
- static VAL_LESS: HeaderValue = HeaderValue::from_static("text/less");
584
+ static VAL_LESS: HeaderValue = HeaderValue::from_static("text/less; charset=utf-8");
584
585
  static VAL_LHA: HeaderValue = HeaderValue::from_static("application/x-lzh-compressed");
585
586
  static VAL_LIBRARY: HeaderValue = HeaderValue::from_static("application/windows-library+xml");
586
587
  static VAL_LINK66: HeaderValue = HeaderValue::from_static("application/vnd.route66.link66+xml");
587
- static VAL_LIST: HeaderValue = HeaderValue::from_static("text/plain");
588
+ static VAL_LIST: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
588
589
  static VAL_LIST3820: HeaderValue = HeaderValue::from_static("application/vnd.ibm.modcap");
589
590
  static VAL_LISTAFP: HeaderValue = HeaderValue::from_static("application/vnd.ibm.modcap");
590
591
  static VAL_LIT: HeaderValue = HeaderValue::from_static("application/x-ms-reader");
591
- static VAL_LITCOFFEE: HeaderValue = HeaderValue::from_static("text/coffeescript");
592
+ static VAL_LITCOFFEE: HeaderValue = HeaderValue::from_static("text/coffeescript; charset=utf-8");
592
593
  static VAL_LNK: HeaderValue = HeaderValue::from_static("application/x-ms-shortcut");
593
594
  static VAL_LOADTEST: HeaderValue = HeaderValue::from_static("application/xml");
594
- static VAL_LOG: HeaderValue = HeaderValue::from_static("text/plain");
595
+ static VAL_LOG: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
595
596
  static VAL_LOSTXML: HeaderValue = HeaderValue::from_static("application/lost+xml");
596
597
  static VAL_LPK: HeaderValue = HeaderValue::from_static("application/octet-stream");
597
598
  static VAL_LRF: HeaderValue = HeaderValue::from_static("application/octet-stream");
598
599
  static VAL_LRM: HeaderValue = HeaderValue::from_static("application/vnd.ms-lrm");
599
600
  static VAL_LSF: HeaderValue = HeaderValue::from_static("video/x-la-asf");
600
- static VAL_LST: HeaderValue = HeaderValue::from_static("text/plain");
601
+ static VAL_LST: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
601
602
  static VAL_LSX: HeaderValue = HeaderValue::from_static("video/x-la-asf");
602
603
  static VAL_LTF: HeaderValue = HeaderValue::from_static("application/vnd.frogans.ltf");
603
- static VAL_LUA: HeaderValue = HeaderValue::from_static("text/x-lua");
604
+ static VAL_LUA: HeaderValue = HeaderValue::from_static("text/x-lua; charset=utf-8");
604
605
  static VAL_LUAC: HeaderValue = HeaderValue::from_static("application/x-lua-bytecode");
605
606
  static VAL_LVP: HeaderValue = HeaderValue::from_static("audio/vnd.lucent.voice");
606
607
  static VAL_LWP: HeaderValue = HeaderValue::from_static("application/vnd.lotus-wordpro");
@@ -626,13 +627,13 @@ static VAL_MA: HeaderValue = HeaderValue::from_static("application/mathematica")
626
627
  static VAL_MAC: HeaderValue = HeaderValue::from_static("image/x-macpaint");
627
628
  static VAL_MADS: HeaderValue = HeaderValue::from_static("application/mads+xml");
628
629
  static VAL_MAG: HeaderValue = HeaderValue::from_static("application/vnd.ecowin.chart");
629
- static VAL_MAK: HeaderValue = HeaderValue::from_static("text/plain");
630
+ static VAL_MAK: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
630
631
  static VAL_MAKER: HeaderValue = HeaderValue::from_static("application/vnd.framemaker");
631
632
  static VAL_MAN: HeaderValue = HeaderValue::from_static("application/x-troff-man");
632
633
  static VAL_MANIFEST: HeaderValue = HeaderValue::from_static("application/x-ms-manifest");
633
- static VAL_MAP: HeaderValue = HeaderValue::from_static("text/plain");
634
+ static VAL_MAP: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
634
635
  static VAL_MAR: HeaderValue = HeaderValue::from_static("application/octet-stream");
635
- static VAL_MARKDOWN: HeaderValue = HeaderValue::from_static("text/markdown");
636
+ static VAL_MARKDOWN: HeaderValue = HeaderValue::from_static("text/markdown; charset=utf-8");
636
637
  static VAL_MASTER: HeaderValue = HeaderValue::from_static("application/xml");
637
638
  static VAL_MATHML: HeaderValue = HeaderValue::from_static("application/mathml+xml");
638
639
  static VAL_MB: HeaderValue = HeaderValue::from_static("application/mathematica");
@@ -640,8 +641,8 @@ static VAL_MBK: HeaderValue = HeaderValue::from_static("application/vnd.mobius.m
640
641
  static VAL_MBOX: HeaderValue = HeaderValue::from_static("application/mbox");
641
642
  static VAL_MC1: HeaderValue = HeaderValue::from_static("application/vnd.medcalcdata");
642
643
  static VAL_MCD: HeaderValue = HeaderValue::from_static("application/vnd.mcd");
643
- static VAL_MCURL: HeaderValue = HeaderValue::from_static("text/vnd.curl.mcurl");
644
- static VAL_MD: HeaderValue = HeaderValue::from_static("text/markdown");
644
+ static VAL_MCURL: HeaderValue = HeaderValue::from_static("text/vnd.curl.mcurl; charset=utf-8");
645
+ static VAL_MD: HeaderValue = HeaderValue::from_static("text/markdown; charset=utf-8");
645
646
  static VAL_MDA: HeaderValue = HeaderValue::from_static("application/msaccess");
646
647
  static VAL_MDB: HeaderValue = HeaderValue::from_static("application/x-msaccess");
647
648
  static VAL_MDE: HeaderValue = HeaderValue::from_static("application/msaccess");
@@ -667,20 +668,20 @@ static VAL_MIME: HeaderValue = HeaderValue::from_static("message/rfc822");
667
668
  static VAL_MIX: HeaderValue = HeaderValue::from_static("application/octet-stream");
668
669
  static VAL_MJ2: HeaderValue = HeaderValue::from_static("video/mj2");
669
670
  static VAL_MJP2: HeaderValue = HeaderValue::from_static("video/mj2");
670
- static VAL_MJS: HeaderValue = HeaderValue::from_static("application/javascript");
671
- static VAL_MK: HeaderValue = HeaderValue::from_static("text/plain");
671
+ static VAL_MJS: HeaderValue = HeaderValue::from_static("application/javascript; charset=utf-8");
672
+ static VAL_MK: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
672
673
  static VAL_MK3D: HeaderValue = HeaderValue::from_static("video/x-matroska");
673
674
  static VAL_MKA: HeaderValue = HeaderValue::from_static("audio/x-matroska");
674
- static VAL_MKD: HeaderValue = HeaderValue::from_static("text/x-markdown");
675
+ static VAL_MKD: HeaderValue = HeaderValue::from_static("text/x-markdown; charset=utf-8");
675
676
  static VAL_MKS: HeaderValue = HeaderValue::from_static("video/x-matroska");
676
677
  static VAL_MKV: HeaderValue = HeaderValue::from_static("video/x-matroska");
677
678
  static VAL_MLP: HeaderValue = HeaderValue::from_static("application/vnd.dolby.mlp");
678
679
  static VAL_MMD: HeaderValue = HeaderValue::from_static("application/vnd.chipnuts.karaoke-mmd");
679
680
  static VAL_MMF: HeaderValue = HeaderValue::from_static("application/x-smaf");
680
- static VAL_MML: HeaderValue = HeaderValue::from_static("text/mathml");
681
+ static VAL_MML: HeaderValue = HeaderValue::from_static("text/mathml; charset=utf-8");
681
682
  static VAL_MMR: HeaderValue = HeaderValue::from_static("image/vnd.fujixerox.edmics-mmr");
682
683
  static VAL_MNG: HeaderValue = HeaderValue::from_static("video/x-mng");
683
- static VAL_MNO: HeaderValue = HeaderValue::from_static("text/xml");
684
+ static VAL_MNO: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
684
685
  static VAL_MNY: HeaderValue = HeaderValue::from_static("application/x-msmoney");
685
686
  static VAL_MOBI: HeaderValue = HeaderValue::from_static("application/x-mobipocket-ebook");
686
687
  static VAL_MOD: HeaderValue = HeaderValue::from_static("video/mpeg");
@@ -746,13 +747,13 @@ static VAL_MXS: HeaderValue = HeaderValue::from_static("application/vnd.triscape
746
747
  static VAL_MXU: HeaderValue = HeaderValue::from_static("video/vnd.mpegurl");
747
748
  static VAL_N: HeaderValue =
748
749
  HeaderValue::from_static("application/vnd.nokia.n-gage.symbian.install");
749
- static VAL_N3: HeaderValue = HeaderValue::from_static("text/n3");
750
+ static VAL_N3: HeaderValue = HeaderValue::from_static("text/n3; charset=utf-8");
750
751
  static VAL_NB: HeaderValue = HeaderValue::from_static("application/mathematica");
751
752
  static VAL_NBP: HeaderValue = HeaderValue::from_static("application/vnd.wolfram.player");
752
753
  static VAL_NC: HeaderValue = HeaderValue::from_static("application/x-netcdf");
753
754
  static VAL_NCX: HeaderValue = HeaderValue::from_static("application/x-dtbncx+xml");
754
755
  static VAL_NEF: HeaderValue = HeaderValue::from_static("image/x-nikon-nef");
755
- static VAL_NFO: HeaderValue = HeaderValue::from_static("text/x-nfo");
756
+ static VAL_NFO: HeaderValue = HeaderValue::from_static("text/x-nfo; charset=utf-8");
756
757
  static VAL_NGDAT: HeaderValue = HeaderValue::from_static("application/vnd.nokia.n-gage.data");
757
758
  static VAL_NITF: HeaderValue = HeaderValue::from_static("application/vnd.nitf");
758
759
  static VAL_NLU: HeaderValue = HeaderValue::from_static("application/vnd.neurolanguage.nlu");
@@ -785,9 +786,9 @@ static VAL_ODFT: HeaderValue =
785
786
  HeaderValue::from_static("application/vnd.oasis.opendocument.formula-template");
786
787
  static VAL_ODG: HeaderValue =
787
788
  HeaderValue::from_static("application/vnd.oasis.opendocument.graphics");
788
- static VAL_ODH: HeaderValue = HeaderValue::from_static("text/plain");
789
+ static VAL_ODH: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
789
790
  static VAL_ODI: HeaderValue = HeaderValue::from_static("application/vnd.oasis.opendocument.image");
790
- static VAL_ODL: HeaderValue = HeaderValue::from_static("text/plain");
791
+ static VAL_ODL: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
791
792
  static VAL_ODM: HeaderValue =
792
793
  HeaderValue::from_static("application/vnd.oasis.opendocument.text-master");
793
794
  static VAL_ODP: HeaderValue =
@@ -807,7 +808,7 @@ static VAL_ONETMP: HeaderValue = HeaderValue::from_static("application/onenote")
807
808
  static VAL_ONETOC: HeaderValue = HeaderValue::from_static("application/onenote");
808
809
  static VAL_ONETOC2: HeaderValue = HeaderValue::from_static("application/onenote");
809
810
  static VAL_OPF: HeaderValue = HeaderValue::from_static("application/oebps-package+xml");
810
- static VAL_OPML: HeaderValue = HeaderValue::from_static("text/x-opml");
811
+ static VAL_OPML: HeaderValue = HeaderValue::from_static("text/x-opml; charset=utf-8");
811
812
  static VAL_OPRC: HeaderValue = HeaderValue::from_static("application/vnd.palm");
812
813
  static VAL_OPUS: HeaderValue = HeaderValue::from_static("audio/ogg");
813
814
  static VAL_ORDEREDTEST: HeaderValue = HeaderValue::from_static("application/xml");
@@ -836,7 +837,7 @@ static VAL_OVA: HeaderValue = HeaderValue::from_static("application/x-virtualbox
836
837
  static VAL_OVF: HeaderValue = HeaderValue::from_static("application/x-virtualbox-ovf");
837
838
  static VAL_OXPS: HeaderValue = HeaderValue::from_static("application/oxps");
838
839
  static VAL_OXT: HeaderValue = HeaderValue::from_static("application/vnd.openofficeorg.extension");
839
- static VAL_P: HeaderValue = HeaderValue::from_static("text/x-pascal");
840
+ static VAL_P: HeaderValue = HeaderValue::from_static("text/x-pascal; charset=utf-8");
840
841
  static VAL_P10: HeaderValue = HeaderValue::from_static("application/pkcs10");
841
842
  static VAL_P12: HeaderValue = HeaderValue::from_static("application/x-pkcs12");
842
843
  static VAL_P7B: HeaderValue = HeaderValue::from_static("application/x-pkcs7-certificates");
@@ -847,7 +848,7 @@ static VAL_P7S: HeaderValue = HeaderValue::from_static("application/pkcs7-signat
847
848
  static VAL_P8: HeaderValue = HeaderValue::from_static("application/pkcs8");
848
849
  static VAL_PAC: HeaderValue = HeaderValue::from_static("application/x-ns-proxy-autoconfig");
849
850
  static VAL_PARQUET: HeaderValue = HeaderValue::from_static("application/vnd.apache.parquet");
850
- static VAL_PAS: HeaderValue = HeaderValue::from_static("text/x-pascal");
851
+ static VAL_PAS: HeaderValue = HeaderValue::from_static("text/x-pascal; charset=utf-8");
851
852
  static VAL_PAW: HeaderValue = HeaderValue::from_static("application/vnd.pawaafile");
852
853
  static VAL_PBD: HeaderValue = HeaderValue::from_static("application/vnd.powerbuilder6");
853
854
  static VAL_PBM: HeaderValue = HeaderValue::from_static("image/x-portable-bitmap");
@@ -861,7 +862,7 @@ static VAL_PCURL: HeaderValue = HeaderValue::from_static("application/vnd.curl.p
861
862
  static VAL_PCX: HeaderValue = HeaderValue::from_static("application/octet-stream");
862
863
  static VAL_PCZ: HeaderValue = HeaderValue::from_static("application/octet-stream");
863
864
  static VAL_PDB: HeaderValue = HeaderValue::from_static("application/vnd.palm");
864
- static VAL_PDE: HeaderValue = HeaderValue::from_static("text/x-processing");
865
+ static VAL_PDE: HeaderValue = HeaderValue::from_static("text/x-processing; charset=utf-8");
865
866
  static VAL_PDF: HeaderValue = HeaderValue::from_static("application/pdf");
866
867
  static VAL_PEF: HeaderValue = HeaderValue::from_static("image/x-pentax-pef");
867
868
  static VAL_PEM: HeaderValue = HeaderValue::from_static("application/x-x509-ca-cert");
@@ -877,8 +878,8 @@ static VAL_PHP: HeaderValue = HeaderValue::from_static("application/x-httpd-php"
877
878
  static VAL_PIC: HeaderValue = HeaderValue::from_static("image/pict");
878
879
  static VAL_PICT: HeaderValue = HeaderValue::from_static("image/pict");
879
880
  static VAL_PKG: HeaderValue = HeaderValue::from_static("application/octet-stream");
880
- static VAL_PKGDEF: HeaderValue = HeaderValue::from_static("text/plain");
881
- static VAL_PKGUNDEF: HeaderValue = HeaderValue::from_static("text/plain");
881
+ static VAL_PKGDEF: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
882
+ static VAL_PKGUNDEF: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
882
883
  static VAL_PKI: HeaderValue = HeaderValue::from_static("application/pkixcmp");
883
884
  static VAL_PKIPATH: HeaderValue = HeaderValue::from_static("application/pkix-pkipath");
884
885
  static VAL_PKO: HeaderValue = HeaderValue::from_static("application/vnd.ms-pki.pko");
@@ -944,14 +945,14 @@ static VAL_PUB: HeaderValue = HeaderValue::from_static("application/x-mspublishe
944
945
  static VAL_PVB: HeaderValue = HeaderValue::from_static("application/vnd.3gpp.pic-bw-var");
945
946
  static VAL_PWN: HeaderValue = HeaderValue::from_static("application/vnd.3m.post-it-notes");
946
947
  static VAL_PWZ: HeaderValue = HeaderValue::from_static("application/vnd.ms-powerpoint");
947
- static VAL_PY: HeaderValue = HeaderValue::from_static("text/plain");
948
+ static VAL_PY: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
948
949
  static VAL_PYA: HeaderValue = HeaderValue::from_static("audio/vnd.ms-playready.media.pya");
949
950
  static VAL_PYV: HeaderValue = HeaderValue::from_static("video/vnd.ms-playready.media.pyv");
950
951
  static VAL_QAM: HeaderValue = HeaderValue::from_static("application/vnd.epson.quickanime");
951
952
  static VAL_QBO: HeaderValue = HeaderValue::from_static("application/vnd.intu.qbo");
952
953
  static VAL_QFX: HeaderValue = HeaderValue::from_static("application/vnd.intu.qfx");
953
- static VAL_QHT: HeaderValue = HeaderValue::from_static("text/x-html-insertion");
954
- static VAL_QHTM: HeaderValue = HeaderValue::from_static("text/x-html-insertion");
954
+ static VAL_QHT: HeaderValue = HeaderValue::from_static("text/x-html-insertion; charset=utf-8");
955
+ static VAL_QHTM: HeaderValue = HeaderValue::from_static("text/x-html-insertion; charset=utf-8");
955
956
  static VAL_QPS: HeaderValue = HeaderValue::from_static("application/vnd.publishare-delta-tree");
956
957
  static VAL_QT: HeaderValue = HeaderValue::from_static("video/quicktime");
957
958
  static VAL_QTI: HeaderValue = HeaderValue::from_static("image/x-quicktime");
@@ -971,22 +972,22 @@ static VAL_RAR: HeaderValue = HeaderValue::from_static("application/x-rar-compre
971
972
  static VAL_RAS: HeaderValue = HeaderValue::from_static("image/x-cmu-raster");
972
973
  static VAL_RAT: HeaderValue = HeaderValue::from_static("application/rat-file");
973
974
  static VAL_RAW: HeaderValue = HeaderValue::from_static("image/x-panasonic-rw");
974
- static VAL_RB: HeaderValue = HeaderValue::from_static("text/plain");
975
- static VAL_RC: HeaderValue = HeaderValue::from_static("text/plain");
976
- static VAL_RC2: HeaderValue = HeaderValue::from_static("text/plain");
975
+ static VAL_RB: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
976
+ static VAL_RC: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
977
+ static VAL_RC2: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
977
978
  static VAL_RCPROFILE: HeaderValue =
978
979
  HeaderValue::from_static("application/vnd.ipunplugged.rcprofile");
979
- static VAL_RCT: HeaderValue = HeaderValue::from_static("text/plain");
980
+ static VAL_RCT: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
980
981
  static VAL_RDF: HeaderValue = HeaderValue::from_static("application/rdf+xml");
981
982
  static VAL_RDLC: HeaderValue = HeaderValue::from_static("application/xml");
982
983
  static VAL_RDZ: HeaderValue = HeaderValue::from_static("application/vnd.data-vision.rdz");
983
- static VAL_REG: HeaderValue = HeaderValue::from_static("text/plain");
984
+ static VAL_REG: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
984
985
  static VAL_REP: HeaderValue = HeaderValue::from_static("application/vnd.businessobjects");
985
986
  static VAL_RES: HeaderValue = HeaderValue::from_static("application/x-dtbresource+xml");
986
987
  static VAL_RESX: HeaderValue = HeaderValue::from_static("application/xml");
987
988
  static VAL_RF: HeaderValue = HeaderValue::from_static("image/vnd.rn-realflash");
988
989
  static VAL_RGB: HeaderValue = HeaderValue::from_static("image/x-rgb");
989
- static VAL_RGS: HeaderValue = HeaderValue::from_static("text/plain");
990
+ static VAL_RGS: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
990
991
  static VAL_RIF: HeaderValue = HeaderValue::from_static("application/reginfo+xml");
991
992
  static VAL_RIP: HeaderValue = HeaderValue::from_static("audio/vnd.rip");
992
993
  static VAL_RIS: HeaderValue = HeaderValue::from_static("application/x-research-info-systems");
@@ -1007,32 +1008,32 @@ static VAL_RPM: HeaderValue = HeaderValue::from_static("audio/x-pn-realaudio-plu
1007
1008
  static VAL_RPSS: HeaderValue = HeaderValue::from_static("application/vnd.nokia.radio-presets");
1008
1009
  static VAL_RPST: HeaderValue = HeaderValue::from_static("application/vnd.nokia.radio-preset");
1009
1010
  static VAL_RQ: HeaderValue = HeaderValue::from_static("application/sparql-query");
1010
- static VAL_RQY: HeaderValue = HeaderValue::from_static("text/x-ms-rqy");
1011
- static VAL_RS: HeaderValue = HeaderValue::from_static("text/x-rust");
1011
+ static VAL_RQY: HeaderValue = HeaderValue::from_static("text/x-ms-rqy; charset=utf-8");
1012
+ static VAL_RS: HeaderValue = HeaderValue::from_static("text/x-rust; charset=utf-8");
1012
1013
  static VAL_RSD: HeaderValue = HeaderValue::from_static("application/rsd+xml");
1013
1014
  static VAL_RSS: HeaderValue = HeaderValue::from_static("application/rss+xml");
1014
1015
  static VAL_RTF: HeaderValue = HeaderValue::from_static("application/rtf");
1015
- static VAL_RTX: HeaderValue = HeaderValue::from_static("text/richtext");
1016
+ static VAL_RTX: HeaderValue = HeaderValue::from_static("text/richtext; charset=utf-8");
1016
1017
  static VAL_RULESET: HeaderValue = HeaderValue::from_static("application/xml");
1017
1018
  static VAL_RUN: HeaderValue = HeaderValue::from_static("application/x-makeself");
1018
1019
  static VAL_RVT: HeaderValue = HeaderValue::from_static("application/octet-stream");
1019
1020
  static VAL_RW2: HeaderValue = HeaderValue::from_static("image/x-panasonic-rw2");
1020
1021
  static VAL_RWL: HeaderValue = HeaderValue::from_static("image/x-panasonic-rw2");
1021
- static VAL_S: HeaderValue = HeaderValue::from_static("text/plain");
1022
+ static VAL_S: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1022
1023
  static VAL_S3M: HeaderValue = HeaderValue::from_static("audio/s3m");
1023
1024
  static VAL_SAF: HeaderValue = HeaderValue::from_static("application/vnd.yamaha.smaf-audio");
1024
1025
  static VAL_SAFARIEXTZ: HeaderValue = HeaderValue::from_static("application/x-safari-safariextz");
1025
- static VAL_SASS: HeaderValue = HeaderValue::from_static("text/x-sass");
1026
+ static VAL_SASS: HeaderValue = HeaderValue::from_static("text/x-sass; charset=utf-8");
1026
1027
  static VAL_SBML: HeaderValue = HeaderValue::from_static("application/sbml+xml");
1027
1028
  static VAL_SC: HeaderValue = HeaderValue::from_static("application/vnd.ibm.secure-container");
1028
1029
  static VAL_SCD: HeaderValue = HeaderValue::from_static("application/x-msschedule");
1029
1030
  static VAL_SCM: HeaderValue = HeaderValue::from_static("application/vnd.lotus-screencam");
1030
1031
  static VAL_SCQ: HeaderValue = HeaderValue::from_static("application/scvp-cv-request");
1031
- static VAL_SCR: HeaderValue = HeaderValue::from_static("text/plain");
1032
+ static VAL_SCR: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1032
1033
  static VAL_SCS: HeaderValue = HeaderValue::from_static("application/scvp-cv-response");
1033
- static VAL_SCSS: HeaderValue = HeaderValue::from_static("text/x-scss");
1034
- static VAL_SCT: HeaderValue = HeaderValue::from_static("text/scriptlet");
1035
- static VAL_SCURL: HeaderValue = HeaderValue::from_static("text/vnd.curl.scurl");
1034
+ static VAL_SCSS: HeaderValue = HeaderValue::from_static("text/x-scss; charset=utf-8");
1035
+ static VAL_SCT: HeaderValue = HeaderValue::from_static("text/scriptlet; charset=utf-8");
1036
+ static VAL_SCURL: HeaderValue = HeaderValue::from_static("text/vnd.curl.scurl; charset=utf-8");
1036
1037
  static VAL_SD2: HeaderValue = HeaderValue::from_static("audio/x-sd2");
1037
1038
  static VAL_SDA: HeaderValue = HeaderValue::from_static("application/vnd.stardivision.draw");
1038
1039
  static VAL_SDC: HeaderValue = HeaderValue::from_static("application/vnd.stardivision.calc");
@@ -1056,18 +1057,18 @@ static VAL_SETREG: HeaderValue =
1056
1057
  static VAL_SETTINGS: HeaderValue = HeaderValue::from_static("application/xml");
1057
1058
  static VAL_SFD: HeaderValue = HeaderValue::from_static("application/vnd.hydrostatix.sof-data");
1058
1059
  static VAL_SFS: HeaderValue = HeaderValue::from_static("application/vnd.spotfire.sfs");
1059
- static VAL_SFV: HeaderValue = HeaderValue::from_static("text/x-sfv");
1060
+ static VAL_SFV: HeaderValue = HeaderValue::from_static("text/x-sfv; charset=utf-8");
1060
1061
  static VAL_SGI: HeaderValue = HeaderValue::from_static("image/sgi");
1061
1062
  static VAL_SGIMB: HeaderValue = HeaderValue::from_static("application/x-sgimb");
1062
1063
  static VAL_SGL: HeaderValue =
1063
1064
  HeaderValue::from_static("application/vnd.stardivision.writer-global");
1064
- static VAL_SGM: HeaderValue = HeaderValue::from_static("text/sgml");
1065
- static VAL_SGML: HeaderValue = HeaderValue::from_static("text/sgml");
1065
+ static VAL_SGM: HeaderValue = HeaderValue::from_static("text/sgml; charset=utf-8");
1066
+ static VAL_SGML: HeaderValue = HeaderValue::from_static("text/sgml; charset=utf-8");
1066
1067
  static VAL_SH: HeaderValue = HeaderValue::from_static("application/x-sh");
1067
1068
  static VAL_SHAR: HeaderValue = HeaderValue::from_static("application/x-shar");
1068
- static VAL_SHEX: HeaderValue = HeaderValue::from_static("text/shex");
1069
+ static VAL_SHEX: HeaderValue = HeaderValue::from_static("text/shex; charset=utf-8");
1069
1070
  static VAL_SHF: HeaderValue = HeaderValue::from_static("application/shf+xml");
1070
- static VAL_SHTML: HeaderValue = HeaderValue::from_static("text/html");
1071
+ static VAL_SHTML: HeaderValue = HeaderValue::from_static("text/html; charset=utf-8");
1071
1072
  static VAL_SID: HeaderValue = HeaderValue::from_static("image/x-mrsid-image");
1072
1073
  static VAL_SIG: HeaderValue = HeaderValue::from_static("application/pgp-signature");
1073
1074
  static VAL_SIL: HeaderValue = HeaderValue::from_static("audio/silk");
@@ -1086,10 +1087,10 @@ static VAL_SLDM: HeaderValue =
1086
1087
  HeaderValue::from_static("application/vnd.ms-powerpoint.slide.macroEnabled.12");
1087
1088
  static VAL_SLDX: HeaderValue =
1088
1089
  HeaderValue::from_static("application/vnd.openxmlformats-officedocument.presentationml.slide");
1089
- static VAL_SLIM: HeaderValue = HeaderValue::from_static("text/slim");
1090
+ static VAL_SLIM: HeaderValue = HeaderValue::from_static("text/slim; charset=utf-8");
1090
1091
  static VAL_SLK: HeaderValue = HeaderValue::from_static("application/vnd.ms-excel");
1091
- static VAL_SLM: HeaderValue = HeaderValue::from_static("text/slim");
1092
- static VAL_SLN: HeaderValue = HeaderValue::from_static("text/plain");
1092
+ static VAL_SLM: HeaderValue = HeaderValue::from_static("text/slim; charset=utf-8");
1093
+ static VAL_SLN: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1093
1094
  static VAL_SLT: HeaderValue = HeaderValue::from_static("application/vnd.epson.salt");
1094
1095
  static VAL_SLUPKG: HeaderValue = HeaderValue::from_static("application/x-ms-license");
1095
1096
  static VAL_SM: HeaderValue = HeaderValue::from_static("application/vnd.stepmania.stepchart");
@@ -1106,26 +1107,27 @@ static VAL_SNF: HeaderValue = HeaderValue::from_static("application/x-font-snf")
1106
1107
  static VAL_SNIPPET: HeaderValue = HeaderValue::from_static("application/xml");
1107
1108
  static VAL_SNP: HeaderValue = HeaderValue::from_static("application/octet-stream");
1108
1109
  static VAL_SO: HeaderValue = HeaderValue::from_static("application/octet-stream");
1109
- static VAL_SOL: HeaderValue = HeaderValue::from_static("text/plain");
1110
- static VAL_SOR: HeaderValue = HeaderValue::from_static("text/plain");
1110
+ static VAL_SOL: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1111
+ static VAL_SOR: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1111
1112
  static VAL_SPC: HeaderValue = HeaderValue::from_static("application/x-pkcs7-certificates");
1112
1113
  static VAL_SPF: HeaderValue = HeaderValue::from_static("application/vnd.yamaha.smaf-phrase");
1113
1114
  static VAL_SPL: HeaderValue = HeaderValue::from_static("application/futuresplash");
1114
- static VAL_SPOT: HeaderValue = HeaderValue::from_static("text/vnd.in3d.spot");
1115
+ static VAL_SPOT: HeaderValue = HeaderValue::from_static("text/vnd.in3d.spot; charset=utf-8");
1115
1116
  static VAL_SPP: HeaderValue = HeaderValue::from_static("application/scvp-vp-response");
1116
1117
  static VAL_SPQ: HeaderValue = HeaderValue::from_static("application/scvp-vp-request");
1117
1118
  static VAL_SPX: HeaderValue = HeaderValue::from_static("audio/ogg");
1118
1119
  static VAL_SQL: HeaderValue = HeaderValue::from_static("application/x-sql");
1119
1120
  static VAL_SR2: HeaderValue = HeaderValue::from_static("image/x-sony-sr2");
1120
1121
  static VAL_SRC: HeaderValue = HeaderValue::from_static("application/x-wais-source");
1121
- static VAL_SRF: HeaderValue = HeaderValue::from_static("text/plain");
1122
+ static VAL_SRF: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1122
1123
  static VAL_SRT: HeaderValue = HeaderValue::from_static("application/x-subrip");
1123
1124
  static VAL_SRU: HeaderValue = HeaderValue::from_static("application/sru+xml");
1124
1125
  static VAL_SRX: HeaderValue = HeaderValue::from_static("application/sparql-results+xml");
1125
1126
  static VAL_SSDL: HeaderValue = HeaderValue::from_static("application/ssdl+xml");
1126
1127
  static VAL_SSE: HeaderValue = HeaderValue::from_static("application/vnd.kodak-descriptor");
1127
1128
  static VAL_SSF: HeaderValue = HeaderValue::from_static("application/vnd.epson.ssf");
1128
- static VAL_SSISDEPLOYMENTMANIFEST: HeaderValue = HeaderValue::from_static("text/xml");
1129
+ static VAL_SSISDEPLOYMENTMANIFEST: HeaderValue =
1130
+ HeaderValue::from_static("text/xml; charset=utf-8");
1129
1131
  static VAL_SSM: HeaderValue = HeaderValue::from_static("application/streamingmedia");
1130
1132
  static VAL_SSML: HeaderValue = HeaderValue::from_static("application/ssml+xml");
1131
1133
  static VAL_SST: HeaderValue = HeaderValue::from_static("application/vnd.ms-pki.certstore");
@@ -1140,9 +1142,9 @@ static VAL_STL: HeaderValue = HeaderValue::from_static("application/vnd.ms-pki.s
1140
1142
  static VAL_STP: HeaderValue = HeaderValue::from_static("application/step");
1141
1143
  static VAL_STR: HeaderValue = HeaderValue::from_static("application/vnd.pg.format");
1142
1144
  static VAL_STW: HeaderValue = HeaderValue::from_static("application/vnd.sun.xml.writer.template");
1143
- static VAL_STYL: HeaderValue = HeaderValue::from_static("text/stylus");
1144
- static VAL_STYLUS: HeaderValue = HeaderValue::from_static("text/stylus");
1145
- static VAL_SUB: HeaderValue = HeaderValue::from_static("text/vnd.dvb.subtitle");
1145
+ static VAL_STYL: HeaderValue = HeaderValue::from_static("text/stylus; charset=utf-8");
1146
+ static VAL_STYLUS: HeaderValue = HeaderValue::from_static("text/stylus; charset=utf-8");
1147
+ static VAL_SUB: HeaderValue = HeaderValue::from_static("text/vnd.dvb.subtitle; charset=utf-8");
1146
1148
  static VAL_SUS: HeaderValue = HeaderValue::from_static("application/vnd.sus-calendar");
1147
1149
  static VAL_SUSP: HeaderValue = HeaderValue::from_static("application/vnd.sus-calendar");
1148
1150
  static VAL_SV4CPIO: HeaderValue = HeaderValue::from_static("application/x-sv4cpio");
@@ -1175,7 +1177,7 @@ static VAL_TESTSETTINGS: HeaderValue = HeaderValue::from_static("application/xml
1175
1177
  static VAL_TEX: HeaderValue = HeaderValue::from_static("application/x-tex");
1176
1178
  static VAL_TEXI: HeaderValue = HeaderValue::from_static("application/x-texinfo");
1177
1179
  static VAL_TEXINFO: HeaderValue = HeaderValue::from_static("application/x-texinfo");
1178
- static VAL_TEXT: HeaderValue = HeaderValue::from_static("text/plain");
1180
+ static VAL_TEXT: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1179
1181
  static VAL_TFI: HeaderValue = HeaderValue::from_static("application/thraud+xml");
1180
1182
  static VAL_TFM: HeaderValue = HeaderValue::from_static("application/x-tex-tfm");
1181
1183
  static VAL_TGA: HeaderValue = HeaderValue::from_static("image/x-tga");
@@ -1185,11 +1187,11 @@ static VAL_THN: HeaderValue = HeaderValue::from_static("application/octet-stream
1185
1187
  static VAL_TIF: HeaderValue = HeaderValue::from_static("image/tiff");
1186
1188
  static VAL_TIFF: HeaderValue = HeaderValue::from_static("image/tiff");
1187
1189
  static VAL_TK: HeaderValue = HeaderValue::from_static("application/x-tcl");
1188
- static VAL_TLH: HeaderValue = HeaderValue::from_static("text/plain");
1189
- static VAL_TLI: HeaderValue = HeaderValue::from_static("text/plain");
1190
+ static VAL_TLH: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1191
+ static VAL_TLI: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1190
1192
  static VAL_TMO: HeaderValue = HeaderValue::from_static("application/vnd.tmobile-livetv");
1191
1193
  static VAL_TOC: HeaderValue = HeaderValue::from_static("application/octet-stream");
1192
- static VAL_TOML: HeaderValue = HeaderValue::from_static("text/x-toml");
1194
+ static VAL_TOML: HeaderValue = HeaderValue::from_static("text/x-toml; charset=utf-8");
1193
1195
  static VAL_TORRENT: HeaderValue = HeaderValue::from_static("application/x-bittorrent");
1194
1196
  static VAL_TPL: HeaderValue = HeaderValue::from_static("application/vnd.groove-tool-template");
1195
1197
  static VAL_TPT: HeaderValue = HeaderValue::from_static("application/vnd.trid.tpt");
@@ -1200,16 +1202,16 @@ static VAL_TRM: HeaderValue = HeaderValue::from_static("application/x-msterminal
1200
1202
  static VAL_TRX: HeaderValue = HeaderValue::from_static("application/xml");
1201
1203
  static VAL_TS: HeaderValue = HeaderValue::from_static("video/vnd.dlna.mpeg-tts");
1202
1204
  static VAL_TSD: HeaderValue = HeaderValue::from_static("application/timestamped-data");
1203
- static VAL_TSV: HeaderValue = HeaderValue::from_static("text/tab-separated-values");
1205
+ static VAL_TSV: HeaderValue = HeaderValue::from_static("text/tab-separated-values; charset=utf-8");
1204
1206
  static VAL_TTC: HeaderValue = HeaderValue::from_static("font/collection");
1205
1207
  static VAL_TTF: HeaderValue = HeaderValue::from_static("font/ttf");
1206
- static VAL_TTL: HeaderValue = HeaderValue::from_static("text/turtle");
1208
+ static VAL_TTL: HeaderValue = HeaderValue::from_static("text/turtle; charset=utf-8");
1207
1209
  static VAL_TTS: HeaderValue = HeaderValue::from_static("video/vnd.dlna.mpeg-tts");
1208
1210
  static VAL_TWD: HeaderValue = HeaderValue::from_static("application/vnd.simtech-mindmapper");
1209
1211
  static VAL_TWDS: HeaderValue = HeaderValue::from_static("application/vnd.simtech-mindmapper");
1210
1212
  static VAL_TXD: HeaderValue = HeaderValue::from_static("application/vnd.genomatix.tuxedo");
1211
1213
  static VAL_TXF: HeaderValue = HeaderValue::from_static("application/vnd.mobius.txf");
1212
- static VAL_TXT: HeaderValue = HeaderValue::from_static("text/plain");
1214
+ static VAL_TXT: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1213
1215
  static VAL_U32: HeaderValue = HeaderValue::from_static("application/octet-stream");
1214
1216
  static VAL_U8DSN: HeaderValue = HeaderValue::from_static("message/global-delivery-status");
1215
1217
  static VAL_U8HDR: HeaderValue = HeaderValue::from_static("message/global-headers");
@@ -1218,18 +1220,18 @@ static VAL_U8MSG: HeaderValue = HeaderValue::from_static("message/global");
1218
1220
  static VAL_UDEB: HeaderValue = HeaderValue::from_static("application/x-debian-package");
1219
1221
  static VAL_UFD: HeaderValue = HeaderValue::from_static("application/vnd.ufdl");
1220
1222
  static VAL_UFDL: HeaderValue = HeaderValue::from_static("application/vnd.ufdl");
1221
- static VAL_ULS: HeaderValue = HeaderValue::from_static("text/iuls");
1223
+ static VAL_ULS: HeaderValue = HeaderValue::from_static("text/iuls; charset=utf-8");
1222
1224
  static VAL_ULX: HeaderValue = HeaderValue::from_static("application/x-glulx");
1223
1225
  static VAL_UMJ: HeaderValue = HeaderValue::from_static("application/vnd.umajin");
1224
1226
  static VAL_UNITYWEB: HeaderValue = HeaderValue::from_static("application/vnd.unity");
1225
1227
  static VAL_UOML: HeaderValue = HeaderValue::from_static("application/vnd.uoml+xml");
1226
- static VAL_URI: HeaderValue = HeaderValue::from_static("text/uri-list");
1227
- static VAL_URIS: HeaderValue = HeaderValue::from_static("text/uri-list");
1228
- static VAL_URLS: HeaderValue = HeaderValue::from_static("text/uri-list");
1229
- static VAL_USER: HeaderValue = HeaderValue::from_static("text/plain");
1228
+ static VAL_URI: HeaderValue = HeaderValue::from_static("text/uri-list; charset=utf-8");
1229
+ static VAL_URIS: HeaderValue = HeaderValue::from_static("text/uri-list; charset=utf-8");
1230
+ static VAL_URLS: HeaderValue = HeaderValue::from_static("text/uri-list; charset=utf-8");
1231
+ static VAL_USER: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1230
1232
  static VAL_USTAR: HeaderValue = HeaderValue::from_static("application/x-ustar");
1231
1233
  static VAL_UTZ: HeaderValue = HeaderValue::from_static("application/vnd.uiq.theme");
1232
- static VAL_UU: HeaderValue = HeaderValue::from_static("text/x-uuencode");
1234
+ static VAL_UU: HeaderValue = HeaderValue::from_static("text/x-uuencode; charset=utf-8");
1233
1235
  static VAL_UVA: HeaderValue = HeaderValue::from_static("audio/vnd.dece.audio");
1234
1236
  static VAL_UVD: HeaderValue = HeaderValue::from_static("application/vnd.dece.data");
1235
1237
  static VAL_UVF: HeaderValue = HeaderValue::from_static("application/vnd.dece.data");
@@ -1258,54 +1260,54 @@ static VAL_UVVX: HeaderValue = HeaderValue::from_static("application/vnd.dece.un
1258
1260
  static VAL_UVVZ: HeaderValue = HeaderValue::from_static("application/vnd.dece.zip");
1259
1261
  static VAL_UVX: HeaderValue = HeaderValue::from_static("application/vnd.dece.unspecified");
1260
1262
  static VAL_UVZ: HeaderValue = HeaderValue::from_static("application/vnd.dece.zip");
1261
- static VAL_VB: HeaderValue = HeaderValue::from_static("text/plain");
1262
- static VAL_VBDPROJ: HeaderValue = HeaderValue::from_static("text/plain");
1263
+ static VAL_VB: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1264
+ static VAL_VBDPROJ: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1263
1265
  static VAL_VBK: HeaderValue = HeaderValue::from_static("video/mpeg");
1264
1266
  static VAL_VBOX: HeaderValue = HeaderValue::from_static("application/x-virtualbox-vbox");
1265
- static VAL_VBPROJ: HeaderValue = HeaderValue::from_static("text/plain");
1266
- static VAL_VBS: HeaderValue = HeaderValue::from_static("text/vbscript");
1267
- static VAL_VCARD: HeaderValue = HeaderValue::from_static("text/vcard");
1267
+ static VAL_VBPROJ: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1268
+ static VAL_VBS: HeaderValue = HeaderValue::from_static("text/vbscript; charset=utf-8");
1269
+ static VAL_VCARD: HeaderValue = HeaderValue::from_static("text/vcard; charset=utf-8");
1268
1270
  static VAL_VCD: HeaderValue = HeaderValue::from_static("application/x-cdlink");
1269
- static VAL_VCF: HeaderValue = HeaderValue::from_static("text/x-vcard");
1271
+ static VAL_VCF: HeaderValue = HeaderValue::from_static("text/x-vcard; charset=utf-8");
1270
1272
  static VAL_VCG: HeaderValue = HeaderValue::from_static("application/vnd.groove-vcard");
1271
1273
  static VAL_VCPROJ: HeaderValue = HeaderValue::from_static("application/xml");
1272
- static VAL_VCS: HeaderValue = HeaderValue::from_static("text/plain");
1274
+ static VAL_VCS: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1273
1275
  static VAL_VCX: HeaderValue = HeaderValue::from_static("application/vnd.vcx");
1274
1276
  static VAL_VCXPROJ: HeaderValue = HeaderValue::from_static("application/xml");
1275
- static VAL_VDDPROJ: HeaderValue = HeaderValue::from_static("text/plain");
1277
+ static VAL_VDDPROJ: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1276
1278
  static VAL_VDI: HeaderValue = HeaderValue::from_static("application/x-virtualbox-vdi");
1277
- static VAL_VDP: HeaderValue = HeaderValue::from_static("text/plain");
1278
- static VAL_VDPROJ: HeaderValue = HeaderValue::from_static("text/plain");
1279
+ static VAL_VDP: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1280
+ static VAL_VDPROJ: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1279
1281
  static VAL_VDX: HeaderValue = HeaderValue::from_static("application/vnd.ms-visio.viewer");
1280
1282
  static VAL_VHD: HeaderValue = HeaderValue::from_static("application/x-virtualbox-vhd");
1281
1283
  static VAL_VIS: HeaderValue = HeaderValue::from_static("application/vnd.visionary");
1282
1284
  static VAL_VIV: HeaderValue = HeaderValue::from_static("video/vnd.vivo");
1283
1285
  static VAL_VMDK: HeaderValue = HeaderValue::from_static("application/x-virtualbox-vmdk");
1284
- static VAL_VML: HeaderValue = HeaderValue::from_static("text/xml");
1286
+ static VAL_VML: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1285
1287
  static VAL_VOB: HeaderValue = HeaderValue::from_static("video/x-ms-vob");
1286
1288
  static VAL_VOR: HeaderValue = HeaderValue::from_static("application/vnd.stardivision.writer");
1287
1289
  static VAL_VOX: HeaderValue = HeaderValue::from_static("application/x-authorware-bin");
1288
1290
  static VAL_VRML: HeaderValue = HeaderValue::from_static("model/vrml");
1289
1291
  static VAL_VSCONTENT: HeaderValue = HeaderValue::from_static("application/xml");
1290
- static VAL_VSCT: HeaderValue = HeaderValue::from_static("text/xml");
1292
+ static VAL_VSCT: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1291
1293
  static VAL_VSD: HeaderValue = HeaderValue::from_static("application/vnd.visio");
1292
1294
  static VAL_VSF: HeaderValue = HeaderValue::from_static("application/vnd.vsf");
1293
1295
  static VAL_VSI: HeaderValue = HeaderValue::from_static("application/ms-vsi");
1294
1296
  static VAL_VSIX: HeaderValue = HeaderValue::from_static("application/vsix");
1295
- static VAL_VSIXLANGPACK: HeaderValue = HeaderValue::from_static("text/xml");
1296
- static VAL_VSIXMANIFEST: HeaderValue = HeaderValue::from_static("text/xml");
1297
+ static VAL_VSIXLANGPACK: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1298
+ static VAL_VSIXMANIFEST: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1297
1299
  static VAL_VSMDI: HeaderValue = HeaderValue::from_static("application/xml");
1298
- static VAL_VSPSCC: HeaderValue = HeaderValue::from_static("text/plain");
1300
+ static VAL_VSPSCC: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1299
1301
  static VAL_VSS: HeaderValue = HeaderValue::from_static("application/vnd.visio");
1300
- static VAL_VSSCC: HeaderValue = HeaderValue::from_static("text/plain");
1301
- static VAL_VSSETTINGS: HeaderValue = HeaderValue::from_static("text/xml");
1302
- static VAL_VSSSCC: HeaderValue = HeaderValue::from_static("text/plain");
1302
+ static VAL_VSSCC: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1303
+ static VAL_VSSETTINGS: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1304
+ static VAL_VSSSCC: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1303
1305
  static VAL_VST: HeaderValue = HeaderValue::from_static("application/vnd.visio");
1304
- static VAL_VSTEMPLATE: HeaderValue = HeaderValue::from_static("text/xml");
1306
+ static VAL_VSTEMPLATE: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1305
1307
  static VAL_VSTO: HeaderValue = HeaderValue::from_static("application/x-ms-vsto");
1306
1308
  static VAL_VSW: HeaderValue = HeaderValue::from_static("application/vnd.visio");
1307
1309
  static VAL_VSX: HeaderValue = HeaderValue::from_static("application/vnd.visio");
1308
- static VAL_VTT: HeaderValue = HeaderValue::from_static("text/vtt");
1310
+ static VAL_VTT: HeaderValue = HeaderValue::from_static("text/vtt; charset=utf-8");
1309
1311
  static VAL_VTU: HeaderValue = HeaderValue::from_static("model/vnd.vtu");
1310
1312
  static VAL_VTX: HeaderValue = HeaderValue::from_static("application/vnd.visio");
1311
1313
  static VAL_VXML: HeaderValue = HeaderValue::from_static("application/voicexml+xml");
@@ -1343,9 +1345,9 @@ static VAL_WM: HeaderValue = HeaderValue::from_static("video/x-ms-wm");
1343
1345
  static VAL_WMA: HeaderValue = HeaderValue::from_static("audio/x-ms-wma");
1344
1346
  static VAL_WMD: HeaderValue = HeaderValue::from_static("application/x-ms-wmd");
1345
1347
  static VAL_WMF: HeaderValue = HeaderValue::from_static("application/x-msmetafile");
1346
- static VAL_WML: HeaderValue = HeaderValue::from_static("text/vnd.wap.wml");
1348
+ static VAL_WML: HeaderValue = HeaderValue::from_static("text/vnd.wap.wml; charset=utf-8");
1347
1349
  static VAL_WMLC: HeaderValue = HeaderValue::from_static("application/vnd.wap.wmlc");
1348
- static VAL_WMLS: HeaderValue = HeaderValue::from_static("text/vnd.wap.wmlscript");
1350
+ static VAL_WMLS: HeaderValue = HeaderValue::from_static("text/vnd.wap.wmlscript; charset=utf-8");
1349
1351
  static VAL_WMLSC: HeaderValue = HeaderValue::from_static("application/vnd.wap.wmlscriptc");
1350
1352
  static VAL_WMP: HeaderValue = HeaderValue::from_static("video/x-ms-wmp");
1351
1353
  static VAL_WMV: HeaderValue = HeaderValue::from_static("video/x-ms-wmv");
@@ -1360,8 +1362,8 @@ static VAL_WQD: HeaderValue = HeaderValue::from_static("application/vnd.wqd");
1360
1362
  static VAL_WRI: HeaderValue = HeaderValue::from_static("application/x-mswrite");
1361
1363
  static VAL_WRL: HeaderValue = HeaderValue::from_static("x-world/x-vrml");
1362
1364
  static VAL_WRZ: HeaderValue = HeaderValue::from_static("x-world/x-vrml");
1363
- static VAL_WSC: HeaderValue = HeaderValue::from_static("text/scriptlet");
1364
- static VAL_WSDL: HeaderValue = HeaderValue::from_static("text/xml");
1365
+ static VAL_WSC: HeaderValue = HeaderValue::from_static("text/scriptlet; charset=utf-8");
1366
+ static VAL_WSDL: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1365
1367
  static VAL_WSPOLICY: HeaderValue = HeaderValue::from_static("application/wspolicy+xml");
1366
1368
  static VAL_WTB: HeaderValue = HeaderValue::from_static("application/vnd.webturbo");
1367
1369
  static VAL_WVX: HeaderValue = HeaderValue::from_static("video/x-ms-wvx");
@@ -1385,7 +1387,7 @@ static VAL_XBM: HeaderValue = HeaderValue::from_static("image/x-xbitmap");
1385
1387
  static VAL_XDF: HeaderValue = HeaderValue::from_static("application/xcap-diff+xml");
1386
1388
  static VAL_XDM: HeaderValue = HeaderValue::from_static("application/vnd.syncml.dm+xml");
1387
1389
  static VAL_XDP: HeaderValue = HeaderValue::from_static("application/vnd.adobe.xdp+xml");
1388
- static VAL_XDR: HeaderValue = HeaderValue::from_static("text/plain");
1390
+ static VAL_XDR: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1389
1391
  static VAL_XDSSC: HeaderValue = HeaderValue::from_static("application/dssc+xml");
1390
1392
  static VAL_XDW: HeaderValue = HeaderValue::from_static("application/vnd.fujixerox.docuworks");
1391
1393
  static VAL_XENC: HeaderValue = HeaderValue::from_static("application/xenc+xml");
@@ -1420,12 +1422,12 @@ static VAL_XLTX: HeaderValue = HeaderValue::from_static(
1420
1422
  );
1421
1423
  static VAL_XLW: HeaderValue = HeaderValue::from_static("application/vnd.ms-excel");
1422
1424
  static VAL_XM: HeaderValue = HeaderValue::from_static("audio/xm");
1423
- static VAL_XML: HeaderValue = HeaderValue::from_static("text/xml");
1425
+ static VAL_XML: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1424
1426
  static VAL_XMP: HeaderValue = HeaderValue::from_static("application/octet-stream");
1425
1427
  static VAL_XMTA: HeaderValue = HeaderValue::from_static("application/xml");
1426
1428
  static VAL_XO: HeaderValue = HeaderValue::from_static("application/vnd.olpc-sugar");
1427
1429
  static VAL_XOF: HeaderValue = HeaderValue::from_static("x-world/x-vrml");
1428
- static VAL_XOML: HeaderValue = HeaderValue::from_static("text/plain");
1430
+ static VAL_XOML: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8");
1429
1431
  static VAL_XOP: HeaderValue = HeaderValue::from_static("application/xop+xml");
1430
1432
  static VAL_XPI: HeaderValue = HeaderValue::from_static("application/x-xpinstall");
1431
1433
  static VAL_XPL: HeaderValue = HeaderValue::from_static("application/xproc+xml");
@@ -1434,12 +1436,12 @@ static VAL_XPR: HeaderValue = HeaderValue::from_static("application/vnd.is-xpr")
1434
1436
  static VAL_XPS: HeaderValue = HeaderValue::from_static("application/vnd.ms-xpsdocument");
1435
1437
  static VAL_XPW: HeaderValue = HeaderValue::from_static("application/vnd.intercon.formnet");
1436
1438
  static VAL_XPX: HeaderValue = HeaderValue::from_static("application/vnd.intercon.formnet");
1437
- static VAL_XRM: HeaderValue = HeaderValue::from_static("text/xml");
1439
+ static VAL_XRM: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1438
1440
  static VAL_XSC: HeaderValue = HeaderValue::from_static("application/xml");
1439
- static VAL_XSD: HeaderValue = HeaderValue::from_static("text/xml");
1440
- static VAL_XSF: HeaderValue = HeaderValue::from_static("text/xml");
1441
- static VAL_XSL: HeaderValue = HeaderValue::from_static("text/xml");
1442
- static VAL_XSLT: HeaderValue = HeaderValue::from_static("text/xml");
1441
+ static VAL_XSD: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1442
+ static VAL_XSF: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1443
+ static VAL_XSL: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1444
+ static VAL_XSLT: HeaderValue = HeaderValue::from_static("text/xml; charset=utf-8");
1443
1445
  static VAL_XSM: HeaderValue = HeaderValue::from_static("application/vnd.syncml+xml");
1444
1446
  static VAL_XSN: HeaderValue = HeaderValue::from_static("application/octet-stream");
1445
1447
  static VAL_XSPF: HeaderValue = HeaderValue::from_static("application/xspf+xml");
@@ -1451,11 +1453,11 @@ static VAL_XVML: HeaderValue = HeaderValue::from_static("application/xv+xml");
1451
1453
  static VAL_XWD: HeaderValue = HeaderValue::from_static("image/x-xwindowdump");
1452
1454
  static VAL_XYZ: HeaderValue = HeaderValue::from_static("chemical/x-xyz");
1453
1455
  static VAL_XZ: HeaderValue = HeaderValue::from_static("application/x-xz");
1454
- static VAL_YAML: HeaderValue = HeaderValue::from_static("text/x-yaml");
1456
+ static VAL_YAML: HeaderValue = HeaderValue::from_static("text/x-yaml; charset=utf-8");
1455
1457
  static VAL_YANG: HeaderValue = HeaderValue::from_static("application/yang");
1456
1458
  static VAL_YIN: HeaderValue = HeaderValue::from_static("application/yin+xml");
1457
- static VAL_YML: HeaderValue = HeaderValue::from_static("text/x-yaml");
1458
- static VAL_YMP: HeaderValue = HeaderValue::from_static("text/x-suse-ymp");
1459
+ static VAL_YML: HeaderValue = HeaderValue::from_static("text/x-yaml; charset=utf-8");
1460
+ static VAL_YMP: HeaderValue = HeaderValue::from_static("text/x-suse-ymp; charset=utf-8");
1459
1461
  static VAL_Z: HeaderValue = HeaderValue::from_static("application/x-compress");
1460
1462
  static VAL_Z1: HeaderValue = HeaderValue::from_static("application/x-zmachine");
1461
1463
  static VAL_Z2: HeaderValue = HeaderValue::from_static("application/x-zmachine");