- or download this
sub handler {
capture {
...
print 'HTTP/1.1 '
. HTTP::Response->new($status => undef, $h, $body)->as_string("\
+r\n");
}
- or download this
is $r->content, $post_data;
# Failed test at foobar.t line 85.
# got: ''
# expected: 'some post data'
# Looks like you failed 1 test of 8.
- or download this
# HTTP/1.1 201 Created
# Location: http://localhost:12345
...
# Client-Response-Num: 1
# X-Died: read failed: Connection reset by peer at .../LWP/Protocol/ht
+tp.pm line 382, <DATA> line 16.
#