Version: 4.1.5
2.4.6 Redirect
(require web-server/http/redirect) |
| |||||||||||||||||||||
uri : non-empty-string/c | |||||||||||||||||||||
perm/temp : redirection-status? = temporarily | |||||||||||||||||||||
headers : (listof header?) = (list) |
Generates an HTTP response that redirects the browser to uri, while including the headers in the response.
Example: (redirect-to "http://www.add-three-numbers.com" permanently)
(redirection-status? v) → boolean? |
v : any/c |
Determines if v is one of the following values.
permanently : redirection-status? |
A redirection-status? for permanent redirections.
temporarily : redirection-status? |
A redirection-status? for temporary redirections.
see-other : redirection-status? |
A redirection-status? for "see-other" redirections.