The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::HTTP::Spore::Middleware::UserAgent - middleware to change the user-agent value

VERSION

version 0.09

SYNOPSIS

    my $client = Net::HTTP::Spore->new_from_spec('twitter.json');
    $client->enable('UserAgent', useragent => 'Mozilla/5.0 (X11; Linux x86_64; rv:2.0b4) Gecko/20100818 Firefox/4.0b4');

DESCRIPTION

Net::HTTP::Spore::Middleware::UserAgent change the default value of the useragent.

AUTHORS

  • Franck Cuny <franck.cuny@gmail.com>

  • Ash Berlin <ash@cpan.org>

  • Ahmad Fatoum <athreef@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 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.