actions.resultPermanentRedirect(req, res, options, headers)
The function generates a redirect response.