diff options
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; |