redirect property

Contains the redirect mode of the request.

This property is read-only.

Syntax

JavaScript
redirectMode = object.redirect

 

Property values

Type: RequestRedirect

A DOMString that represents the request's redirect mode.

Standards information

Remarks

The possible values of redirect are:

  • "follow"
  • "error"
  • "manual"

The value of redirect is "follow" by default.

See also

Request