Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/http/http_status.ts>Status

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
enum Status
import { Status } from "https://deno.land/std@0.201.0/http/http_status.ts";

Standard HTTP status codes.

Members

Accepted = 202

RFC 7231, 6.3.3

AlreadyReported = 208

RFC 5842, 7.1

BadGateway = 502

RFC 7231, 6.6.3

BadRequest = 400

RFC 7231, 6.5.1

Conflict = 409

RFC 7231, 6.5.8

Continue = 100

RFC 7231, 6.2.1

Created = 201

RFC 7231, 6.3.2

EarlyHints = 103

RFC 8297 *

ExpectationFailed = 417

RFC 7231, 6.5.14

FailedDependency = 424

RFC 4918, 11.4

Forbidden = 403

RFC 7231, 6.5.3

Found = 302

RFC 7231, 6.4.3

GatewayTimeout = 504

RFC 7231, 6.6.5

Gone = 410

RFC 7231, 6.5.9

HTTPVersionNotSupported = 505

RFC 7231, 6.6.6

IMUsed = 226

RFC 3229, 10.4.1

InsufficientStorage = 507

RFC 4918, 11.5

InternalServerError = 500

RFC 7231, 6.6.1

LengthRequired = 411

RFC 7231, 6.5.10

Locked = 423

RFC 4918, 11.3

LoopDetected = 508

RFC 5842, 7.2

MethodNotAllowed = 405

RFC 7231, 6.5.5

MisdirectedRequest = 421

RFC 7540, 9.1.2

MovedPermanently = 301

RFC 7231, 6.4.2

MultipleChoices = 300

RFC 7231, 6.4.1

MultiStatus = 207

RFC 4918, 11.1

NetworkAuthenticationRequired = 511

RFC 6585, 6

NoContent = 204

RFC 7231, 6.3.5

NonAuthoritativeInfo = 203

RFC 7231, 6.3.4

NotAcceptable = 406

RFC 7231, 6.5.6

NotExtended = 510

RFC 2774, 7

NotFound = 404

RFC 7231, 6.5.4

NotImplemented = 501

RFC 7231, 6.6.2

NotModified = 304

RFC 7232, 4.1

OK = 200

RFC 7231, 6.3.1

PartialContent = 206

RFC 7233, 4.1

PaymentRequired = 402

RFC 7231, 6.5.2

PermanentRedirect = 308

RFC 7538, 3

PreconditionFailed = 412

RFC 7232, 4.2

PreconditionRequired = 428

RFC 6585, 3

Processing = 102

RFC 2518, 10.1

ProxyAuthRequired = 407

RFC 7235, 3.2

RequestedRangeNotSatisfiable = 416

RFC 7233, 4.4

RequestEntityTooLarge = 413

RFC 7231, 6.5.11

RequestHeaderFieldsTooLarge = 431

RFC 6585, 5

RequestTimeout = 408

RFC 7231, 6.5.7

RequestURITooLong = 414

RFC 7231, 6.5.12

ResetContent = 205

RFC 7231, 6.3.6

SeeOther = 303

RFC 7231, 6.4.4

ServiceUnavailable = 503

RFC 7231, 6.6.4

SwitchingProtocols = 101

RFC 7231, 6.2.2

Teapot = 418

RFC 7168, 2.3.3

TemporaryRedirect = 307

RFC 7231, 6.4.7

TooEarly = 425

RFC 8470, 5.2

TooManyRequests = 429

RFC 6585, 4

Unauthorized = 401

RFC 7235, 3.1

UnavailableForLegalReasons = 451

RFC 7725, 3

UnprocessableEntity = 422

RFC 4918, 11.2

UnsupportedMediaType = 415

RFC 7231, 6.5.13

UpgradeRequired = 426

RFC 7231, 6.5.15

UseProxy = 305

RFC 7231, 6.4.5

VariantAlsoNegotiates = 506

RFC 2295, 8.1