ContentNegotiationHeaderTrait
Content negotiation HTTP header names (RFC 9110 §12).
Mixed into HttpHeader.
Tags
Table of Contents
Constants
- ACCEPT : string = 'Accept'
- `Accept` — Media types acceptable for the response (RFC 9110 §12.5.1).
- ACCEPT_CHARSET : string = 'Accept-Charset'
- `Accept-Charset` — Charsets acceptable for the response (RFC 9110 §12.5.2, deprecated).
- ACCEPT_ENCODING : string = 'Accept-Encoding'
- `Accept-Encoding` — Content codings acceptable for the response (RFC 9110 §12.5.3).
- ACCEPT_LANGUAGE : string = 'Accept-Language'
- `Accept-Language` — Natural languages preferred for the response (RFC 9110 §12.5.4).
- ACCEPT_PATCH : string = 'Accept-Patch'
- `Accept-Patch` — Patch document media types supported by the resource (RFC 5789).
- ACCEPT_POST : string = 'Accept-Post'
- `Accept-Post` — Media types accepted by the server in a POST request (W3C LDP).
Constants
ACCEPT
`Accept` — Media types acceptable for the response (RFC 9110 §12.5.1).
public
string
ACCEPT
= 'Accept'
ACCEPT_CHARSET
`Accept-Charset` — Charsets acceptable for the response (RFC 9110 §12.5.2, deprecated).
public
string
ACCEPT_CHARSET
= 'Accept-Charset'
ACCEPT_ENCODING
`Accept-Encoding` — Content codings acceptable for the response (RFC 9110 §12.5.3).
public
string
ACCEPT_ENCODING
= 'Accept-Encoding'
ACCEPT_LANGUAGE
`Accept-Language` — Natural languages preferred for the response (RFC 9110 §12.5.4).
public
string
ACCEPT_LANGUAGE
= 'Accept-Language'
ACCEPT_PATCH
`Accept-Patch` — Patch document media types supported by the resource (RFC 5789).
public
string
ACCEPT_PATCH
= 'Accept-Patch'
ACCEPT_POST
`Accept-Post` — Media types accepted by the server in a POST request (W3C LDP).
public
string
ACCEPT_POST
= 'Accept-Post'