Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/http/util.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.164.0/http/util.ts";

Functions

Returns true if the etags match. Weak etag comparisons are handled.

Internal utility for returning a standardized response, automatically defining the body, status code and status text, according to the response type.