Handbook
Glossary
>secure-url ( url -- url' )
Furnace framework
»
Furnace redirection support
»
Secure redirection
Next:
<secure-redirect> ( url -- response )
Vocabulary
furnace
.
redirection
Inputs
url
an
url
Outputs
url'
an
url
Word description
Sets the protocol of a URL to HTTPS.
Definition
USING:
accessors
http.server.remapping
kernel
;
IN:
furnace.redirection
:
>secure-url
( url -- url' )
clone
"https"
>>protocol
secure-http-port
>>port
;