mirror of
https://github.com/caddyserver/caddy.git
synced 2026-07-10 19:04:22 +00:00
Add TestNormalizeWebsocketHeaders covering the four cases: - canonical (lowercased) header names are renamed to RFC 6455 form - headers already in the correct form are left unchanged - non-WebSocket headers are untouched - empty header map is a no-op Add TestNormalizeWebsocketHeadersSurvivesCopyHeader as a targeted regression test for #7784: simulates the header-rebuild that proxyLoopIteration performs when transport or header ops are configured, verifies that calling normalizeWebsocketHeaders afterwards restores Sec-WebSocket-* to the RFC 6455 casing. |
||
|---|---|---|
| .. | ||
| caddyevents | ||
| caddyfs | ||
| caddyhttp | ||
| caddypki | ||
| caddytls | ||
| filestorage | ||
| internal/network | ||
| logging | ||
| metrics | ||
| standard | ||