Vocabulary
http.server.redirection

Inputs
urla url or string


Outputs
responsea response


Word description
Redirects to the user to the URL after applying relative-to-request.

Notes
This redirect type should always be used with POST requests, and with GET requests in cases where the new URL always supercedes the old one. This is due to browsers caching the new URL with permanent redirects.

Definition

: <permanent-redirect> ( url -- response )
301 "Moved Permanently" <custom-redirect> ;