<secure-redirect> ( url -- response )
Furnace framework » Furnace redirection support » Secure redirection

Prev:>secure-url ( url -- url' )
Next:if-secure ( quot -- response )


Vocabulary
furnace.redirection

Inputs
urlan url


Outputs
responsea response


Word description
Creates a responder which unconditionally redirects the client to the given URL after setting its protocol to HTTPS.

Notes
This word is intended to be used with a relative URL. The client is redirected to the relative URL, but with HTTPS instead of HTTP.

Definition