Skip to main content
Module

x/http_utils/header.ts>ContentNegotiationHeader

HTTP implementation utility collection
Go to Latest
enum ContentNegotiationHeader
import { ContentNegotiationHeader } from "https://deno.land/x/http_utils@1.0.0-beta.13/header.ts";

HTTP content negotiation header fields.

Examples

Example 1

import { ContentNegotiationHeader } from "https://deno.land/x/http_utils@$VERSION/mod.ts";
import { assertEquals } from "https://deno.land/std@$VERSION/testing/asserts.ts";

assertEquals(ContentNegotiationHeader.Accept, "accept");

Members

Accept = "accept"
AcceptCharset = "accept-charset"
AcceptEncoding = "accept-encoding"
AcceptLanguage = "accept-language"
Vary = "vary"