Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Eliom_predefmod.String_redirection

module String_redirection:
   Eliom_mkreg.ELIOMREGSIG   with
    type page = XHTML.M.uri
    and type options = [ `Temporary | `Permanent ]

Allows to create redirections towards other URLs. A 301 or 307 code is sent to the browser to ask it to redo the request to another URL.

Warning: The URL given must be an absolute URI.

To choose if you want permanent or temporary redirection, use the options parameter of registration functions. For example: register ~options:`Temporary ....


module Cookies:
   Eliom_mkreg.ELIOMREGSIG1  
    with type page = page * Eliom_services.cookie list