Version: 4.0.2
2.7 Helpers
"servlet/helpers.ss" provides functions built on "servlet/web.ss" that are useful in many servlets.
| |||||||||||||||||||||
uri : string? | |||||||||||||||||||||
perm/temp : redirection-status? = temporarily | |||||||||||||||||||||
Generates an HTTP response that redirects the browser to uri, while including the headers in the response.
(redirection-status? v) → boolean? |
v : any/c |
Determines if v is one of the following values.
A redirection-status? for permanent redirections.
A redirection-status? for temporary redirections.
A redirection-status? for "see-other" redirections.
| ||||||||||||||
Calls thunk with an exception handler that generates an HTML error page and calls send/finish-or-back.