refactor: use strings.SplitSeq in static delivery

This commit is contained in:
2026-07-05 22:08:29 +02:00
parent 11ec256e18
commit a31d71bca6
2 changed files with 3 additions and 3 deletions

View File

@@ -141,7 +141,7 @@ var compressionCases = []compressionTestCase{
func headerContains(header http.Header, name, want string) bool {
for _, line := range header.Values(name) {
for _, value := range strings.Split(line, ",") {
for value := range strings.SplitSeq(line, ",") {
if strings.EqualFold(strings.TrimSpace(value), want) {
return true
}