Apache2-REST
view release on metacpan or search on metacpan
0.04 11 Nov 2009
Added dependency on Digest::MD5
Added Content-Length
cleanup response before writing out.
yaml writer returns correct mimetype text/yaml
Implemented Accept header writer selection.
Improved documentation
0.03
Added special writer (bin) to handle binary responses.
Proper management of binary output of unicode values.
Added requestedFormat to Apache2::REST::Request
Implemented option Apache2RESTWriterRegistry
Implemented option Apache2RESTWriterDefault
Added example with unicode characters
0.02 09 Nov 2009
Added a link to the Google project page
0.01 06 Nov 2009
First version.
lib/Apache2/REST/Overview.pod view on Meta::CPAN
The client performs a HTTP method on a resource uri.
L<Apache2::REST> splits the uri in fragments.
Apache2::REST builds a L<Apache2::REST::Handler> and let it handle the root fragment
Apache2::REST then writes the response back to the client with the appropriate writer.
If the response is written as a string (which is true for defaults writers),
this string is a unicode string encoded in UTF-8 bytes.
=head2 How a Apache2::REST::Handler works
If the requested resource is terminal, it performs the requested HTTP method (if allowed).
If the requested resource is not terminal, it solves the next fragment buy building
the next handler. By default, the next handler is a class one level down in the package
hierachy.
=head2 A request lifecycle example.
( run in 0.401 second using v1.01-cache-2.11-cpan-88abd93f124 )