On this page:
redirect-to
redirection-status?
permanently
temporarily
see-other
Version: 4.1.5
2.4.6 Redirect

 (require web-server/http/redirect)

(redirect-to uri    
  [perm/temp    
  #:headers headers])  response/c
  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.