diff --git a/Changes b/Changes index 2456142..a5f2ee0 100644 --- a/Changes +++ b/Changes @@ -2,4 +2,6 @@ Revision history for AnyEvent-HTTP-Message {{$NEXT}} +0.100 2012-04-19T01:28:25Z + - Initial release diff --git a/README.pod b/README.pod index c2b9b83..5ea7fc8 100644 --- a/README.pod +++ b/README.pod @@ -1,6 +1,158 @@ -=head1 AnyEvent::HTTP::Message +=for :stopwords Randy Stauner ACKNOWLEDGEMENTS TODO featureful http cpan testmatrix url +annocpan anno bugtracker rt cpants kwalitee diff irc mailto metadata +placeholders metacpan -See module POD for more information. +=encoding utf-8 + +=head1 NAME + +AnyEvent::HTTP::Message - Lightweight objects for AnyEvent::HTTP Request/Response + +=head1 VERSION + +version 0.100 + +=head1 SYNOPSIS + + # don't use this directly + +=head1 DESCRIPTION + +This is a base class for: + +=over 4 + +=item * + +L + +=item * + +L + +=back + +=head1 CLASS METHODS + +=head2 new + +The constructor accepts either a single hashref of named arguments, +or a specialized list of arguments that will be passed to +a the L method (which must be defined by the subclass). + +=head2 parse_args + +Called by the constructor +when L is not called with a single hashref. + +Must be customized by subclasses. + +=head1 ATTRIBUTES + +=head2 body + +Message content body + +=head2 content + +Alias for L + +=head2 headers + +Message headers (hashref) + +=head1 METHODS + +=head2 header + + my $ua = $message->header('User-Agent'); + # same as $message->header->{'user-agent'}; + +Takes the specified key, +converts C<_> to C<-> and lower-cases it, +then returns the value of that message header. + +=head1 SUPPORT + +=head2 Perldoc + +You can find documentation for this module with the perldoc command. + + perldoc AnyEvent::HTTP::Message + +=head2 Websites + +The following websites have more information about this module, and may be of help to you. As always, +in addition to those websites please use your favorite search engine to discover more resources. + +=over 4 + +=item * + +Search CPAN + +The default CPAN search engine, useful to view POD in HTML format. + +L + +=item * + +RT: CPAN's Bug Tracker + +The RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN. + +L + +=item * + +CPAN Ratings + +The CPAN Ratings is a website that allows community ratings and reviews of Perl modules. + +L + +=item * + +CPAN Testers + +The CPAN Testers is a network of smokers who run automated tests on uploaded CPAN distributions. + +L + +=item * + +CPAN Testers Matrix + +The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms. + +L + +=item * + +CPAN Testers Dependencies + +The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution. + +L + +=back + +=head2 Bugs / Feature Requests + +Please report any bugs or feature requests by email to C, or through +the web interface at L. You will be automatically notified of any +progress on the request by the system. + +=head2 Source Code + + +L + + git clone https://github.com/rwstauner/AnyEvent-HTTP-Message.git + +=head1 AUTHOR + +Randy Stauner =head1 COPYRIGHT AND LICENSE @@ -9,4 +161,3 @@ This software is copyright (c) 2012 by Randy Stauner. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. -=cut