Subject: | `wrap` isn't documented well |
The example shows:
wrap => sub {
my( $req ) = @_;
# Fix up some values
$req->{headers}->{'Content-Length'} = 666;
},
But there should probably be a "return $req" at the end. Otherwise it seems to keep generating "666".