Skip to main content
Module

x/http_utils/mod.ts>CachingHeader

HTTP utility collection for Fetch API
Go to Latest
enum CachingHeader
import { CachingHeader } from "https://deno.land/x/http_utils@1.0.0-beta.15/mod.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"