Akamai-Edgegrid
view release on metacpan or search on metacpan
lib/Akamai/Edgegrid.pm view on Meta::CPAN
}
unless ($self->{headers_to_sign}) {
$self->{headers_to_sign} = [];
}
unless ($self->{max_body}) {
$self->{max_body} = 131072;
}
$self->add_handler('request_prepare' => sub {
my ($r, $ua, $h) = @_;
my $nonce = _new_nonce();
my $timestamp = _eg_timestamp();
$r->header('Authorization', $ua->_make_auth_header($r, $timestamp, $nonce));
});
return $self;
}
=back
=head1 AUTHOR
Jonathan Landis, C<< <jlandis at akamai.com> >>
=head1 BUGS
Please report any bugs or feature requests to the web interface at L<https://github.com/akamai-open/edgegrid-perl/issues>.
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Akamai::Edgegrid
You can also look for information at:
=over 4
=item * Akamai's OPEN Developer Community
L<https://developer.akamai.com>
=item * Github issues (report bugs here)
L<https://github.com/akamai-open/AkamaiOPEN-edgegrid-perl/issues>
=item * AnnoCPAN: Annotated CPAN documentation
L<http://annocpan.org/dist/edgegrid-perl>
=item * CPAN Ratings
L<http://cpanratings.perl.org/d/edgegrid-perl>
=item * Search CPAN
L<http://search.cpan.org/dist/edgegrid-perl/>
=back
=head1 LICENSE AND COPYRIGHT
Copyright 2014 Akamai Technologies, Inc. All rights reserved
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
L<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
=cut
1; # End of Akamai::Edgegrid
( run in 0.461 second using v1.01-cache-2.11-cpan-df04353d9ac )