Handbook
Glossary
<secure-only> ( responder -- secure-only )
Furnace framework
»
Furnace redirection support
»
Secure redirection
Prev:
if-secure ( quot -- response )
Vocabulary
furnace
.
redirection
Inputs
responder
a responder
Outputs
secure-only
a responder
Word description
Creates a new responder which ensures that the client is connecting via HTTPS before delegating to the underlying responder. If the client is connecting via HTTP, a redirect is sent instead.
Definition
USING:
kernel
;
IN:
furnace.redirection
:
<secure-only>
( responder -- secure-only )
\
secure-only
boa
;
inline