Skip to content
Snippets Groups Projects
Verified Commit 44f03d03 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chorse comments

parent e44111ee
No related branches found
No related tags found
No related merge requests found
......@@ -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))
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment