Debian Codegraph @

debian/control

raw symbols SCIP
1 Source: golang-github-munnerz-goautoneg
2 Maintainer: Debian Go Packaging Team <[email protected]>
3 Uploaders: Arthur Diniz <[email protected]>
4 Section: golang
5 Testsuite: autopkgtest-pkg-go
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13),
8 dh-golang,
9 golang-any
10 Standards-Version: 4.5.1
11 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-munnerz-goautoneg
12 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-munnerz-goautoneg.git
13 Homepage: https://github.com/munnerz/goautoneg
14 Rules-Requires-Root: no
15 XS-Go-Import-Path: github.com/munnerz/goautoneg
16
17 Package: golang-github-munnerz-goautoneg-dev
18 Architecture: all
19 Depends: ${misc:Depends}
20 Description: golang functions for HTTP Content-Type autonegotiation (library)
21 HTTP Content-Type Autonegotiation functions for golang.
22 The functions in this package implement the behaviour specified in
23 http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html.
24 .
25 This golang package is a mirror of bitbucket.org/ww/goautoneg.
26 .
27 func Negotiate(header string, alternatives []string) (content_type string)
28 Negotiate the most appropriate content_type given the accept header and a
29 list of alternatives.
30 .
31 func ParseAccept(header string) (accept []Accept)
32 Parse an Accept Header string returning a sorted list of clauses.