70 |
qq| |
qq| |
71 |
<html> |
<html> |
72 |
<head> |
<head> |
73 |
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=$url"></META> |
<META HTTP-EQUIV="Refresh" CONTENT="2; URL=$url"></META> |
74 |
</head> |
</head> |
75 |
<body> |
<body> |
76 |
Refresh <a href="$url"><tt>$url</tt></a> |
Refresh <a href="$url"><tt>$url</tt></a> |
148 |
} |
} |
149 |
|
|
150 |
if ( $f ) { |
if ( $f ) { |
151 |
$f->add_status( { req => $req } ); |
$f->clean_status; |
152 |
warn "## status ", dump( map { keys %$_ } @{ $f->status } ); |
$f->add_status( { request => $req } ); |
153 |
$req->print( $f->html ); |
warn "## status ", dump( map { keys %$_ } $f->status ); |
154 |
|
my $html = $f->html; |
155 |
|
die "no html output" unless $html; |
156 |
|
warn "## html ",length($html)," bytes"; |
157 |
|
$req->print( "$html\n" ); |
158 |
} else { |
} else { |
159 |
warn "# can't call request on nothing!"; |
warn "# can't call request on nothing!"; |
160 |
} |
} |