Net::HTTP::Spore::Middleware::Redirection - Middleware for redirections
version 0.04
my $client = Net::HTTP::Spore->new_from_spec('twitter.json'); $client->enable( 'Redirection', max_redirect => 2 ); # or $client->enable( 'Redirection');
This middleware let you define how many redirection your client should follow. By default, a client won't follow redirections.
How many redirections the client should follow. Default is 5
franck cuny <franck@lumberjaph.net>
This software is copyright (c) 2010 by linkfluence.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::HTTP::Spore, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::HTTP::Spore
CPAN shell
perl -MCPAN -e shell install Net::HTTP::Spore
For more information on module installation, please visit the detailed CPAN module installation guide.