Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/http_utils/header.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/header.ts";

HTTP Caching header fields.

Examples

Example 1

import { CachingHeader } from "https://deno.land/x/http_utils@$VERSION/header.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"