Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: send_responseChapter 17
The LWP Library
Next: Reference: send_error
 

send_redirect

 $c->send_redirect ( url, [code, [entity_body]] )

Sends a redirect response to the client, with the location url, an absolute or a relative URL. The optional code argument should be one of the redirect status codes; the default is 301 Moved Permanently. An entity_body string can be sent as HTML that informs the user of the redirection.


Previous: Reference: send_responsePerl in a NutshellNext: Reference: send_error
Reference: send_responseBook IndexReference: send_error