ContentNegotiation
Overview
Usage
- Node
- Deno
import { ContentNegotiation } from 'keywork/http/headers'
import { ContentNegotiation } from 'https://deno.land/x/keywork/http/headers'
Properties
Accept
Accept: `string`
Informs the server about the MIME Types of data that can be sent back.
Defined in
http/headers/mod.ts:212
Accept-Encoding
Accept-Encoding: `string`
The encoding algorithm that can be used on the resource sent back.
Defined in
http/headers/mod.ts:216
Accept-Language
Accept-Language: `string`
Informs the server about the human language the server is expected to send back. This is a hint and is not necessarily under the full control of the user The server should always pay attention not to override an explicit user choice (like selecting a language from a dropdown).
Defined in
http/headers/mod.ts:223
Content negotiation headers.