HTTP responder redirection - Factor Documentation (original) (raw)

HTTP responder redirection
Furnace framework » HTTP server

Prev: Canned HTTP responses
Next: HTTP server variables

The http.server.redirection defines some response types which redirect the user's client to a new page.
( url -- response )
( url -- response )

A utility used by the above:

relative-to-request ( url -- url' )

The furnace.redirection vocabulary provides a higher-level implementation of this. The furnace.conversations vocabulary allows state to be maintained between redirects.