Skip to main content
Module

x/http_utils/mod.ts>RepresentationHeader

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

HTTP representation data and metadata header fields.

Examples

Example 1

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

assertEquals(RepresentationHeader.ContentType, "content-type");

Members

ContentEncoding = "content-encoding"
ContentLanguage = "content-language"
ContentLength = "content-length"
ContentLocation = "content-location"
ContentType = "content-type"
ETag = "etag"
LastModified = "last-modified"