1
0
mirror of https://github.com/c-kr/check_json.git synced 2025-04-04 08:13:45 +02:00
This commit is contained in:
Dennis 2013-06-26 04:11:46 -07:00
commit 9b5ec83aa0

View File

@ -56,6 +56,7 @@ $np->getopts;
my $ua = LWP::UserAgent->new;
$ua->agent('check_json/0.1');
$ua->default_header('Accept' => 'application/json');
$ua->protocols_allowed( [ 'http', 'https'] );
$ua->parse_head(0);
$ua->timeout($np->opts->timeout);