warnings;
use Carp;
use Digest::SHA qw(sha256);
use Exporter qw(import);
use HTTP::Message;
use JSON::XS;
use List::Util qw(first);
use LWP::UserAgent;
use MIME::Base64;
use Text::Trim;
use Time::Hi
meout($self->{http_timeout});
$self->{http_agent}->default_header("Content-Type" => "application/json");
$self->{http_agent}->default_header("Accept-Encoding" => $self->{http_compression});
if (!$
} . "/threatListUpdates:fetch?key=" . $self->{key},
"Content-Type" => "application/json",
Content => encode_json($info)
);
$self->{logger} && $self->{logger}->trace($response->request()->as_str