# Functions

AcceptMediaTypes returns the set of accepted media ranges.
LanguageNegotiator returns a content language negotiation handler.
NegotiateContentType returns the best possible response type from a set of options, based on the Accept header.
ParseAcceptRange returns the media range, params and quality factor (weight) from an Accept range.
ParseAcceptRanges returns the set of accepted media ranges from an Accept header.
TypeNegotiator returns a content type negotiation handler.

# Constants

MIME types.
MIME types.
Language is the key used to store and retrieve the chosen language in routing.Context.
MIME types.
MIME types.

# Variables

DataWriters lists all supported content types and the corresponding data writers.

# Structs

AcceptRange represents a media-range contained within an Accept header.
HTMLDataWriter sets the "Content-Type" response header as "text/html; charset=UTF-8" and calls routing.DefaultDataWriter to write the given data to the response.
JSONDataWriter sets the "Content-Type" response header as "application/json" and writes the given data in JSON format to the response.
XMLDataWriter sets the "Content-Type" response header as "application/xml; charset=UTF-8" and writes the given data in XML format to the response.