套件:golang-github-munnerz-goautoneg-dev(0.0~git20191010.a7dc8b6-2)
golang-github-munnerz-goautoneg-dev 的相關連結
Debian 的資源:
下載原始碼套件 golang-github-munnerz-goautoneg:
- [golang-github-munnerz-goautoneg_0.0~git20191010.a7dc8b6-2.dsc]
- [golang-github-munnerz-goautoneg_0.0~git20191010.a7dc8b6.orig.tar.xz]
- [golang-github-munnerz-goautoneg_0.0~git20191010.a7dc8b6-2.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
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.