diff --git a/parser.go b/parser.go index 1c5b7372b9ff8283a8edec61d40adad1b57c7f54..5f01baeea4524b7535ed79c2aa857f3a1fbabac1 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)) }