Subject: | SYNOPSIS would not work with LWP GET ... |
Perusing the example in the synopsis only works with a
manual telnet <port>. LWP GET, et.al. will block until
the server closes the connection.
Which it does not unless you add
my $r = $req->{req};
$req->{conn}->close if $r->header( 'Connection' ) && $r->header( 'Connection' ) =~ /close/;
after the ->respond .
rgds, \rho