Skip to main content
Module

x/status/mod.ts>METHOD_NOT_ALLOWED

🗿 HTTP status utility for Deno. Based on Java Apache HttpStatus
Latest
variable METHOD_NOT_ALLOWED
import { METHOD_NOT_ALLOWED } from "https://deno.land/x/status@0.1.0/mod.ts";

Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.5

The request method is known by the server but has been disabled and cannot be used. For example, an API may forbid DELETE-ing a resource. The two mandatory methods, GET and HEAD, must never be disabled and should not return this error code.

type

405