diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2019-01-21 02:13:06 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2019-01-21 02:13:06 +0100 |
commit | 57ddc5ca505adeb3e44542335b01a6f0e8887ddc (patch) | |
tree | b5cf1f36dbf6a3b14fd6eb807087b66d69df1655 /client | |
parent | d5d7aed46cc34dfbba521dc216f6f75a4309de10 (diff) |
lacme, client: new dependency Date::Parse.
Diffstat (limited to 'client')
-rwxr-xr-x | client | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,6 +50,7 @@ use Fcntl qw/O_CREAT O_EXCL O_WRONLY/; use Digest::SHA qw/sha256 sha256_hex/; use MIME::Base64 qw/encode_base64 encode_base64url/; +use Date::Parse (); use LWP::UserAgent (); use Types::Serialiser (); use JSON (); @@ -148,7 +149,6 @@ sub request_retry_after($) { my $r = shift; my $v = $r->header('Retry-After'); if (defined $v and $v !~ /\A\d+\z/) { - require 'Date/Parse.pm'; $v = Date::Parse::str2time($v); if (defined $v) { $v = $v - time; |