accept3.1.3 • Public • Published
HTTP Accept-* headers parsing.
Lead Maintainer - Eran Hammer
Accept helps to answer the question of how best to respond to a HTTP request, based on the requesting browser's capabilities. Accept will parse the headers of a HTTP request and tell you what the preferred encoding is, what language should be used, and what charsets and media types are accepted.
Additional details about Accept headers and content negotiation can be found in IETF RFC 7231, Section 5.3.
For information on using Accept see the API documentation.