NAME

Net::HTTP::Spore::Middleware::Format::Text - middleware for Text format

VERSION

version 0.09

SYNOPSIS

my $client = Net::HTTP::Spore->new_from_spec('twitter.json');
$client->enable('Format::Text');

DESCRIPTION

Net::HTTP::Spore::Middleware::Format::Text is a simple middleware to handle requests in text/plain format. It will set the appropriate Accept header in your request. If the request method is PUT or POST, the Content-Type header will also be set to text/plain.

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.