| HTML-WebDAO documentation | view source | Contained in the HTML-WebDAO distribution. |
HTML::WebDAO::Response - Response class
use HTML::WebDAO;
Class for set response headers
Set out header:
$response->set_header('Location', $redirect_url);
$response->set_header( -type => 'text/html; charset=utf-8' );
return $self reference
return value for header NAME:
Determine mime type for filename (Simple by ext); return str
print header.return $self reference
Set headers for redirect to url.return $self reference
Set callbacks for call after flush
Prepare headers and save
$respose->send_file($filename, -type=>'image/jpeg');
Flush current state of response.
Set HTTP 404 headers
Zahatski Aliaksandr, <zag@cpan.org>
| HTML-WebDAO documentation | view source | Contained in the HTML-WebDAO distribution. |