File: 01_capture_request.t

package info (click to toggle)
libfurl-perl 3.14-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 660 kB
  • sloc: perl: 2,188; makefile: 5; sh: 1
file content (15 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!perl -Ilib
use strict;
use warnings;
use utf8;
use Test::More;

use Furl;
my $f=Furl->new(capture_request=>1, timeout=>5);
my $r=$f->post("http://example.com.local");
is($r->captured_req_headers, undef);
is($r->captured_req_content, undef);


done_testing;