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

std/http/mod.ts>SuccessfulStatus

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
type alias SuccessfulStatus
import { type SuccessfulStatus } from "https://deno.land/std@0.211.0/http/mod.ts";

An HTTP status that is a success (2XX).

definition:
| STATUS_CODE.OK
| STATUS_CODE.Created
| STATUS_CODE.Accepted
| STATUS_CODE.NonAuthoritativeInfo
| STATUS_CODE.NoContent
| STATUS_CODE.ResetContent
| STATUS_CODE.PartialContent
| STATUS_CODE.MultiStatus
| STATUS_CODE.AlreadyReported
| STATUS_CODE.IMUsed