Registry /
networking / timewasted-go-accept-headers
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
accept
✓ github.com/timewasted/go-accept-headers
Parses an Accept header string into structured data.
package main
import (
"fmt"
"github.com/timewasted/go-accept-headers"
)
func main() {
parsed := accept.Parse("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8")
fmt.Println(parsed)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20130320203746-c78f304b1b09latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.