HELP: <secure-redirect>
{ $values
- { "url" url }
- { "response" response }
+ { "url" url }
+ { "response" response }
}
{ $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." } ;
HELP: >secure-url
{ $values
- { "url" url }
- { "url'" url }
+ { "url" url }
+ { "url'" url }
}
{ $description "Sets the protocol of a URL to HTTPS." } ;
HELP: if-secure
{ $values
- { "quot" quotation }
- { "response" response }
+ { "quot" quotation }
+ { "response" response }
}
{ $description "Runs a quotation if the current request was made over HTTPS, otherwise returns a redirect to have the client request the current page again via HTTPS." } ;