Help for this page
if ($response->is_redirect) { ... print $cgi->header($ResponseContentType); print $response->content; }