all options
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: golang-github-munnerz-goautoneg  ]

Package: golang-github-munnerz-goautoneg-dev (0.0~git20191010.a7dc8b6-2)

Links for golang-github-munnerz-goautoneg-dev

Screenshot

Debian Resources:

Download Source Package golang-github-munnerz-goautoneg:

Maintainers:

External Resources:

Similar packages:

golang functions for HTTP Content-Type autonegotiation (library)

HTTP Content-Type Autonegotiation functions for golang. The functions in this package implement the behaviour specified in http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html.

This golang package is a mirror of bitbucket.org/ww/goautoneg.

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.

Download golang-github-munnerz-goautoneg-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 4.2 kB20.0 kB [list of files]