golang-github-munnerz-goautoneg-dev 0.0~git20191010.a7dc8b6-2 (s390x binary) in ubuntu noble
HTTP Content-Type Autonegotiation functions for golang.
The functions in this package implement the behaviour specified in
http://
.
This golang package is a mirror of bitbucket.
.
func Negotiate(header string, alternatives []string) (content_type string)
Negotiate the most appropriate content_type given the accept header and a
list of alternatives.
.
func ParseAccept(header string) (accept []Accept)
Parse an Accept Header string returning a sorted list of clauses.
Details
- Package version:
- 0.0~git20191010.a7dc8b6-2
- Status:
- Published
- Component:
- universe
- Priority:
- Optional