Kévin Dunglas
3be8dabc89
caddyhttp: use canonical header key casing to avoid re-canonicalization ( #7911 )
...
Header.Get/Set re-canonicalize and allocate whenever the passed key
isn't already in canonical MIME header form. Sec-WebSocket-Key,
WWW-Authenticate, and content-type all miss the fast path; switch to
their canonical forms (Sec-Websocket-Key, Www-Authenticate,
Content-Type).
Enable the canonicalheader linter to catch future regressions,
excluded in test files since those already use non-canonical casing
in several places without a perf-sensitive path behind them.
2026-07-30 20:40:35 +10:00
..
2026-07-30 20:40:35 +10:00
2026-07-30 20:40:35 +10:00
2026-06-20 13:45:10 -06:00
2026-02-26 14:01:35 -07:00
2026-07-12 09:16:34 +10:00
2025-12-16 23:42:42 -05:00
2024-09-25 14:30:56 -06:00
2024-10-10 16:21:26 -04:00
2026-01-13 14:13:43 -05:00
2025-09-26 03:14:48 -04:00
2026-07-12 09:25:31 +10:00
2026-07-26 08:49:44 +10:00
2024-05-13 17:38:18 +00:00
2026-06-01 13:35:02 -06:00
2026-06-18 11:42:58 -06:00
2026-06-20 13:45:10 -06:00
2026-05-10 13:10:29 +10:00
2026-05-10 13:10:29 +10:00
2024-06-04 14:23:55 -06:00
2024-11-04 23:18:50 +00:00
2026-06-22 10:25:43 -06:00
2026-07-12 09:17:08 +10:00
2026-02-11 09:15:51 -07:00
2026-05-20 16:36:30 +10:00
2026-05-20 16:36:30 +10:00
2023-05-16 15:27:52 +00:00
2025-08-18 17:08:46 -06:00
2024-08-12 05:47:05 -04:00
2025-11-12 13:29:47 -07:00
2026-04-17 14:56:42 -06:00
2026-07-11 08:37:44 +10:00
2026-07-30 20:40:35 +10:00
2026-04-25 06:52:08 -04:00
2026-04-25 06:52:08 -04:00
2026-06-04 11:03:19 -04:00
2026-06-04 11:03:19 -04:00
2021-05-02 12:39:06 -06:00
2024-12-20 11:16:34 -07:00
2024-04-24 00:05:57 +00:00
2025-01-27 08:18:37 -07:00
2026-05-07 03:40:26 -04:00
2026-06-11 22:26:21 -06:00
2026-07-26 08:48:25 +10:00
2024-08-22 11:32:44 -06:00
2021-09-29 11:17:48 -06:00
2026-07-18 08:14:38 +00:00
2020-06-04 12:06:38 -06:00
2026-06-22 10:25:43 -06:00
2026-06-22 10:25:43 -06:00
2026-04-10 16:27:52 -06:00
2026-06-20 13:45:10 -06:00