Module warp::redirect[][src]

Redirect requests to a new location.

The types in this module are helpers that implement Reply, and easy to use in order to setup redirects.

Functions

permanent

A simple 308 permanent redirect to a different location.

redirect

A simple 301 permanent redirect to a different location.

see_other

A simple 303 redirect to a different location.

temporary

A simple 307 temporary redirect to a different location.