View definition


Defined in


Redirect sets 'Location: uri' response header and sets the given statusCode.

statusCode must have one of the following values:

* StatusMovedPermanently (301)
* StatusFound (302)
* StatusSeeOther (303)
* StatusTemporaryRedirect (307)

All other statusCode values are replaced by StatusFound (302).

The redirect uri may be either absolute or relative to the current request uri.

Redirect is referenced in 6 repositories