Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Negotiate ¶
Negotiate the most appropriate content_type given the accept header and a list of alternatives.
func ParseAccept ¶
func ParseAccept(header string) acceptSlice
Parse an Accept Header string returning a sorted list of clauses
Types ¶
Click to show internal directories.
Click to hide internal directories.