From 44f03d03ac17340ec92870eebf2649c676443921 Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Fri, 7 Oct 2022 12:41:03 +0200 Subject: [PATCH] chorse comments --- parser.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parser.go b/parser.go index 1c5b737..5f01bae 100644 --- a/parser.go +++ b/parser.go @@ -17,6 +17,7 @@ type headerParser struct { wildCard string } +// func newHeaderParser(header http.Header, hasSlashVal bool) *headerParser { hp := &headerParser{header: header, hasSlashVal: hasSlashVal, defaultQ: 1.0} @@ -136,6 +137,7 @@ func (p headerParser) selectOffer(offers []string, specs specs) string { return bestOffer } +// func formatHeaderVal(val string) string { return strings.ToLower(strings.Replace(val, " ", "", -1)) } -- GitLab