Skip to main content
Module

x/http_utils/header.ts>CachingHeader

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

HTTP Caching header fields.

Examples

Example 1

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

assertEquals(CachingHeader.CacheControl, "cache-control");

Members

Age = "age"
CacheControl = "cache-control"
Expires = "expires"