Skip to main content
Module

x/status/mod.ts>PERMANENT_REDIRECT

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

Official Documentation @ https://tools.ietf.org/html/rfc7538#section-3

This means that the resource is now permanently located at another URI, specified by the Location: HTTP Response header. This has the same semantics as the 301 Moved Permanently HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.

type

308