Net::HTTP::Spore::Middleware::Format::XML - middleware for XML format
my $client = Net::HTTP::Spore->new_from_spec('twitter.json'); $client->enable('Format::XML');
Net::HTTP::Spore::Middleware::Format::XML is a simple middleware to handle the XML 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 XML.
This middleware will also deserialize content in the response. The deserialized content will be store in the body of the response.
franck cuny <email@example.com>
This software is copyright (c) 2012 by linkfluence.